Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS 17] requestSubscripition infinite loop #98

Open
buraksecer opened this issue Nov 8, 2023 · 3 comments
Open

[IOS 17] requestSubscripition infinite loop #98

buraksecer opened this issue Nov 8, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@buraksecer
Copy link

Description

The payment-required pop-up opens from the bottom. We make the payment, then the same pop-up reopens without returning the result of the payment, entering an infinite loop.

We think this issue is related to the new iOS version(17).

We've encountered the same problem with other libraries as well.

Version

v2.7.0

What platforms are you seeing the problem on?

iOS

System info

Usage: react-native [command] [options]

Options:
  -v                                         Output the current version
  --verbose                                  Increase logging verbosity
  -h, --help                                 display help for command

Commands:
  init [options] <projectName>               Initialize a new React Native project named <projectName> in a directory of the same name.
  doctor [options]                           Diagnose and fix common Node.js, iOS, Android & React Native issues.
  bundle [options]                           builds the javascript bundle for offline use
  ram-bundle [options]                       builds javascript as a "Random Access Module" bundle for offline use
  start [options]                            starts the webserver
  config                                     Print CLI configuration
  clean [options]                            Cleans your project by removing React Native related caches and modules.
  info                                       Get relevant version info about OS, toolchain and libraries
  upgrade [version]                          Upgrade your app's template files to the specified or latest npm version using `rn-diff-purge` project. Only valid semver versions are allowed.
  profile-hermes [options] [destinationDir]  Pull and convert a Hermes tracing profile to Chrome tracing profile, then store it in the directory <destinationDir> of the local machine
  log-ios                                    starts iOS device syslog tail
  run-ios [options]                          builds your app and starts it on iOS simulator
  log-android                                starts logkitty
  run-android [options]                      builds your app and starts it on a connected Android emulator or device
  build-android [options]                    builds your app
  clean-project-auto                         fully automated project state clean: like a freshly-cloned, never-started repo
  clean-project                              interactive project state clean: choose types of react-native state to clean
  setup-ios-permissions                      Update react-native-permissions podspec to link additional permission handlers.
  help [command]                             display help for command
@buraksecer buraksecer added the bug Something isn't working label Nov 8, 2023
@divanc
Copy link
Collaborator

divanc commented Nov 8, 2023

Hey! Thank you for raising this!
Are you on the latest Xcode (or what version)?

We'll try to reproduce it, but we might need your native logs a little bit later if we fail

@efstathiosntonas
Copy link

efstathiosntonas commented May 16, 2024

I just got this issue today on 2.10.1 on iOS simulator 17.5.

Yesterday it was working fine but, when I entered today to notification server url on appstoreconnect.com the loop started. If this make sense, I've added the same url on production and sandbox. Don't know if notification url is the issue here but this is the only change I had since yesterday.

ps. In app settings on adapty dashboard, it's stuck on Waiting Notification hasn't been received yet, using V2 version, Apple In-App Purchase API (StoreKit 2) configured as per docs. (it's been over 1hr since I entered the url in appstoreconnect).

@efstathiosntonas
Copy link

efstathiosntonas commented May 17, 2024

This is the error Xcode throws:

 Payment completed with error: Error Domain=ASDErrorDomain Code=907 "(null)"
....
....
....
NSLocalizedFailureReason=Payment sheet dismissed with neither an error nor a result```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants