react-native-inappbrowser icon indicating copy to clipboard operation
react-native-inappbrowser copied to clipboard

The InAppBrowser freeze when sharing with Twitter in iOS

Open davidcort opened this issue 5 years ago • 6 comments

System: OS: macOS Mojave 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz Memory: 1.75 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.7.0 - /usr/local/bin/node Yarn: 1.17.3 - /usr/local/bin/yarn npm: 6.10.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 Android SDK: API Levels: 25, 28, 29 Build Tools: 28.0.3, 29.0.1 System Images: android-28 | Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom Android NDK: 20.0.5594570 IDEs: Android Studio: 3.4 AI-183.6156.11.34.5692245 Xcode: 11.0/11A420a - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.1 => 0.61.1 npmGlobalPackages: react-native-cli: 2.0.1

In iOS <= v13 the screen freeze when a link is sharing in Twitter, not works the reload, the only way is close the inAppBrowser.

IMG_0002

This happen in the simulator and real device. In Safari Browser this not happen.

Awaiting your comments. Thanks for this plugin.

davidcort avatar Oct 12 '19 00:10 davidcort

Please, any advice?

davidcort avatar Oct 17 '19 17:10 davidcort

Can you share logs from Xcode?

jdnichollsc avatar Nov 26 '19 23:11 jdnichollsc

@jdnichollsc Sure. Only show this in the Report Navigator when share in Twitter in an amp web page:

Can't end BackgroundTask: no background task exists with identifier 10 (0xa), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.

davidcort avatar Nov 27 '19 00:11 davidcort

Hey David, In which iOS versions are you testing? I'm asking because there're other issues reported with the same error message since iOS 13:

  • https://forums.developer.apple.com/thread/121990
  • https://stackoverflow.com/a/58358986/1532821
  • https://github.com/flutter/flutter/issues/41095

jdnichollsc avatar Jan 15 '20 02:01 jdnichollsc

The same issue happens in 11.x 12.x and 13.x

davidcort avatar Jan 15 '20 17:01 davidcort

Very odd because we're not running background services with this plugin 🤔

jdnichollsc avatar Jan 16 '20 00:01 jdnichollsc