tipsi-stripe icon indicating copy to clipboard operation
tipsi-stripe copied to clipboard

The connection to Google Play services was lost

Open samzmann opened this issue 4 years ago • 0 comments

Before I have submitted the issue

[x] I have read an installation guide
[x] I know that for an iOS I need to install pods because I've read the installation guide
[x] I have read a linking guide and checked that everything is OK like in manual linking guide
[x] I know that before using tipsi-stripe I need to set options for my app as described in usage guide

The problem

I'm seeing in my Sentry logs that stripe.deviceSupportsNativePay() is failing with the error:

Error: 8: The connection to Google Play services was lost

The only report I got came from Android 8.0.0. After googling a bit and finding various issues related to "google play services" I get the feeling maybe the user needs to install the Google Play services app. But that's just a hunch... So do you have any better insight on where this error might come from?

Environment

  • tipsi-stripe version: 8.0.0-beta.11
  • Last tipsi-stripe version where the issue was not reproduced (if applicable):
  • iOS or Android: Android
  • OS version: 8.0.0
  • React-Native version: 0.63.4
  • (Android only) com.google.firebase:firebase-core version: 16.0.9
  • (Android only) com.google.android.gms:play-services-base version: not declared in android/app/build.gradle (should it be?)

Links to logs and sources

No more logs than the error posted above

For Android, please provide the following sections from android/app/build.gradle:

  • android.compileSdkVersion: 29
  • android.buildToolsVersion: 29.0.2
  • android.defaultConfig.minSdkVersion: 21
  • android.defaultConfig.targetSdkVersion: 29
  • android.defaultConfig.multiDexEnabled: true

Screenshots, GIFs (Must to have)

N/A

Code To Reproduce Issue (Good To Have)

Could not reproduce.

samzmann avatar Mar 17 '21 16:03 samzmann