Android Question Check package name in conditional compilation

Emme Developer

Well-Known Member
Licensed User
Longtime User
Is possibile to check the package name using IF in conditional compilation, without using a new build configuration?
 

DonManfred

Expert
Licensed User
Longtime User
Last edited:
Upvote 0

Emme Developer

Well-Known Member
Licensed User
Longtime User
Not sure that I understand. You cannot change the package name without adding a new build configuration.
I want to do the opposite. I have different application, from 2 company. Each app of first company has package name com.companyname.appname, and each app in second company has com.secondcompany.appname. I have so 2 sign key. In order to avoid to compile with wrong key, i want to check the package name. If it is com.first then compile with first sign key, else use second sign key
 
Upvote 0
Top