* fix small style issues * fix touch gap * fixing podfile * creating standardized amountIn function * show tx ids not amounts * use standardized amount in * use standardized amount in * fixed no payment information crash * downgrade rn and react-native-quick-crypto * only show margin if two elements exist * adding backup amount * wait till hompage to call analytics data * fix restore bug * updating firebase * fix check logic * wrap to handle thrown execptions * use utils package directly * adding error handling * group notification payments insted of handling them sequentually * handle payment requset on confirm page * improving split payment ux * adding translations * adding firebase sdk warning
13 lines
340 B
JavaScript
13 lines
340 B
JavaScript
import { utils } from '@react-native-firebase/app';
|
|
|
|
export function checkGooglePlayServices() {
|
|
try {
|
|
const areGoogleServicesEnabled =
|
|
utils().playServicesAvailability.isAvailable;
|
|
return areGoogleServicesEnabled;
|
|
} catch (err) {
|
|
console.log('Error getting google services information', err);
|
|
return false;
|
|
}
|
|
}
|