Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

The connection to Google Play services was lost #737

Closed
samzmann opened this issue Mar 17, 2021 · 1 comment
Closed

The connection to Google Play services was lost #737

samzmann opened this issue Mar 17, 2021 · 1 comment

Comments

@samzmann
Copy link

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.

@fbartho
Copy link
Collaborator

fbartho commented Jun 20, 2023

Closing this ticket, so that new users don't think this project is still active.

Stripe does not want you using this, and you will find pain if you do; Please migrate to the official @stripe/stripe-react-native package, for your user's safety, and your developer's sanity!

See more:

@fbartho fbartho closed this as completed Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants