private static boolean isGooglePlayServicesReady(final Context context) {
		if (context.getPackageManager().resolveContentProvider("com.google.android.gsf.gservices", 0) == null) return false;
		final int gms_availability = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(context);
		return gms_availability == ConnectionResult.SUCCESS;
	}
Wrapper for Firebase with tweaks.

Created by Oasis on 2018/1/6.
shared/src/main/java/com/oasisfeng/island/firebase/FirebaseWrapper.java