Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20026] Android: Google Admob included in builds when using ti.map module

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNot Our Bug
Resolution Date2015-12-15T04:37:18.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsmap
ReporterEduardo Gomez
AssigneeSrikanth Sombhatla
Created2015-11-20T19:54:07.000+0000
Updated2015-12-15T04:37:18.000+0000

Description

Issue

It appears that when the ti.map module is included in an android build we unintentionally are including the google ad mob framework.

Steps to reproduce

To reproduce please follow the steps below:

Unzip the zip

cd into com.test

Build the project using the cmd "titanium build -F --platform android"

Find the location of the unsigned apk for ex " Writing unsigned apk: /Users/travis.crist/Desktop/com.test/build/android/bin/app-unsigned.apk"

Use "apktool d app-unsigned.apk" to unpack the apk http://ibotpeaches.github.io/Apktool/

open up the folder app-unsigned.apk

Search for 'admob'

Notice that its found in a bunch of places, we don't wat the admob framework.

open up tiapp.xml and remove the ti.map module

Build the project using the cmd "titanium build -F --platform android"

Find the location of the unsigned apk for ex " Writing unsigned apk: /Users/travis.crist/Desktop/com.test/build/android/bin/app-unsigned.apk"

Use "apktool d app-unsigned.apk" to unpack the apk http://ibotpeaches.github.io/Apktool/

open up the folder app-unsigned.apk

Search for 'admob'

Notice there are no matches, this is what we expect.

Attachments

FileDateSize
ADSUPPORTED.png2015-11-23T23:21:59.000+000060339
com.test.zip2015-11-20T19:53:28.000+00007614290

Comments

No comments

JSON Source