Android Question Custom Build, exclude specific libraries and modules

iCAB

Well-Known Member
Licensed User
Longtime User
Hi All

is there a way to exclude specific modules and specific selected libraries based on a custom build.

For example:
I am adding in-app purchases for a specific build, but I don't want to link the corresponding library for other builds. Is there a solution?

Thanks
iCAB
 

iCAB

Well-Known Member
Licensed User
Longtime User
Hi Erel

Thanks for your reply. Here is my next question:
Since one of the builds require the In-App Billing library, will all other builds include this library (if checked)?
In other words, would other builds show in the store as if the app offers In App purchases (even though it doesn't)

Thanks again for your support
iCAB
 
Upvote 0

iCAB

Well-Known Member
Licensed User
Longtime User
Just double checking one thing in here
if I understood you correctly: com.android.vending.BILLING, will be automatically added to the manifest file if BillingManger is declared (unless already exists). Is this true?

if so, should this solve the issue (provided BUILD_2 doesn't declare BillingManager
B4X:
#if BUILD_1
    AddPermission(com.android.vending.BILLING)
#else
    'Something else in here
#end if

Thank you
 
Upvote 0
Top