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

keepAlive doesn't work for iOS devices #99

Open
stanhughes opened this issue Oct 30, 2020 · 0 comments
Open

keepAlive doesn't work for iOS devices #99

stanhughes opened this issue Oct 30, 2020 · 0 comments

Comments

@stanhughes
Copy link

In iOS when the application is suspended and returns to foreground there is a chunk error. This doesn't happen in Android and doesn't happen in the iOS simulator. However, it does occur with actual iOS devices.

Steps to repeat:

  1. Using a physical iOS device.
  2. Open a large complex React app in the react-native-static-server using react-native-webview.
  3. Suspend the app.
  4. Wait about 5 to 10 minutes.
  5. Return to the app.

Expected behavior:
App should display at the same page at the time it was suspended. This is what happens with the Android device and in the iOS simulator.

Actual behavior:
An error occurs that the chunk cannot be loaded.

Screen Shot 2020-10-30 at 3 39 55 PM

System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Memory: 91.50 MB / 32.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.12.0 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.1
System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 11.7/11E801a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_242 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
npmGlobalPackages:
react-native: Not Found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant