-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
What were you trying to do?
Load some data via JS fetch.
What happened?
iOS device/simulator crash.
How to reproduce the bug
This was weird to reproduce, but I was able to setup a simple test app that does just that. If you click on Test Page, it will go to a new page that initiates a JS call of fetch. That just pulls in a view and returns it in JSON format. It only started happening with 3.1 and it doesn't happen on Android. 3.1.1 did not fix it either.
This is the test project that should easily reproduce it:
https://github.com/kutothe/nativephp-bugtest
Debug Output
INFO NativePHP Mobile.
+--------------------+--------+
| Package Version | 3.1.1 |
| PHP Version (Host) | 8.4.19 |
| OS | Darwin |
| OS Version | 25.3.0 |
| Embedded PHP | 8.4 |
+--------------------+--------+
INFO Installed Plugins.
None
INFO Development Tools.
+----------------+--------------------------------------+
| Xcode | Xcode 26.3 |
| Android Studio | Android Studio AndroidStudio2025.3.2 |
| Gradle | Gradle 8.13 |
| Java | openjdk version "17.0.15" 2025-04-15 |
| CocoaPods | CocoaPods 1.16.2 |
+----------------+--------------------------------------+
Which operating systems have you seen this occur on?
macOS
Which platforms were you trying to build for?
iOS (Simulator), iOS (Device)
Notes
No response