Android Question B4A 6 , Google Play Services is Firebase mandatory ?

echapeta

Member
Licensed User
Longtime User
I have a B4A 5.x project using Google Play Services, basically for Fused Location and Maps, after installing B4A 6, it seems that the Android SDK updated to Google Play Services 30 and now the old manifest, etc configuration doesn't work anymore, the compilation throws an error in the manifest.

Could someone explain:

1 - Is mandatory to use Firebase in order to use Google Play Services ?

2 - Where I can find a simple tutorial about how to migrate from B4A 5.x to 6 regarding those features ?


Thank You !!!!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
1 - Is mandatory to use Firebase in order to use Google Play Services ?
No.

Note that the change you encounter is not really related to B4A 6, but rather to Google Play Services 30.

Existing projects should work exactly like before.

Google maps configuration: https://www.b4x.com/android/forum/threads/google-maps.63930/#content

FusedLocationProvider:
Add this line:
B4X:
#AdditionalJar: com.google.android.gms:play-services-location
Remove the #AdditionalRes line.
 
Upvote 0

echapeta

Member
Licensed User
Longtime User
Hello Erel,

After doing so, I get the following message while compiling:

B4A version: 6.00
Parsing code. (0.16s)
Compiling code. (0.88s)
Compiling layouts code. (0.08s)
Organizing libraries. Error
Maven artifact not found: com.android.support/support-v4

Can you help me ?

Thank You.
 
Upvote 0
Top