Android Question [SOLVED] Manifest Condition Symbols

Jmu5667

Well-Known Member
Licensed User
Longtime User
EDIT: NO 'THEN' required in IF :)

Hello


I have build configuration called playstore, that has a conditional symbol GOOGLE_PLAYSTORE.

This is in my manifest:

B4X:
#if Not(GOOGLE_PLAYSTORE) then
    AddPermission(android.permission.PROCESS_OUTGOING_CALLS)
    AddPermission(android.permission.READ_SMS)
    AddPermission(android.permission.RECEIVE_SMS)
#end if

I seem to get a parse error. I read this https://www.b4x.com/android/forum/t...mpilation-build-configurations.40746/#content

What am I doing wrong ?

Regards

John
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 2
Solution
Top