I have created an app that has user registration with android studio
and firebase
. It turns out that when a user tries to register, he gets a notification informing him that he cannot use the app without first updating the play store
. (when you update them you can use the app normally. But what I want is for my app to run with whatever version of play store
the user has on their deviceandroid
).
I have used:
- AndroidStudio 2.2.0
The minimum version of sdk
:
- API 17
...
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.google.firebase:firebase-auth:9.8.0'
compile 'com.google.firebase:firebase-messaging:9.8.0'
compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-database:9.8.0'
compile 'com.google.firebase:firebase-storage:9.8.0'
compile 'com.android.support:recyclerview-v7:24.2.1'
compile 'com.firebaseui:firebase-ui-database:0.5.3'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.android.support.test.espresso:espresso-core:2.2.2'
compile 'com.android.support:support-v4:24.2.1'
I don't know if anything needs to be changed...
As @Webserveis comments, when using Firebase libraries, it requires current versions of Google Play Services, in this case at least version 9.0
https://developers.google.com/android/guides/releases
For this reason the execution of your application requires the update of Google Play Services .
It is due to the Google Play Services that contains many of the APIs that we use, in your case Firebase. The same thing happens when you use the Google Maps API, YouTube, Google Drive, Google Wallet, etc.
Google Play Services receives periodic updates and it is necessary for the user to update them so that your application that contains the most current versions of the APIs also works on the user's device.