I am very worried because the Huawei personal contact me and they explained that new phones do not will have Play Services Installed(Old news). The app in the I work currently uses differents Google Services: play-services-ads,play-services-auth,firebase-messaging,firebase-analytics, Crashlytics, Google Sheets, Google Drive.
We used Google Sign-in to obtaining the GoogleAccountCredential for we call to the Drive/Sheets API:
GoogleAccountCredential credential = GoogleAccountCredential
.usingOAuth2(HomeActivity.this,
//Collections.singleton(DriveScopes.DRIVE_FILE));
Collections.singleton(DriveScopes.DRIVE));
public static DriveServiceHelper initDriveService(GoogleAccountCredential mCredential) {
if(mDriveService == null && mCredential != null){
// servicio drive
mDriveService = new Drive.Builder(
AndroidHttp.newCompatibleTransport(),
new GsonFactory(),
mCredential)
.setApplicationName(getString(R.string.app_name))
.build();
}
if(mSheetsService == null && mCredential != null){
// servicio sheets
mSheetsService = new Sheets.Builder(
AndroidHttp.newCompatibleTransport(),
new GsonFactory(),
mCredential)
.setApplicationName(getString(R.string.app_name))
.build();
}
//driveServiceHelper = new DriveServiceHelper(googleDriveService);
return new DriveServiceHelper(mDriveService, mSheetsService, mCredential);
}
Which would be the alternatives for can use the APIS previously mentioned installed in the new Huawei devices(without Google Play Services) and obtaining the Credentials necessary?