Hi, thank you for fixing the original repo and creating this fork.
I'm having issues with this plugin though:
The app works fine at first (when I run flutter run or just run the app through Xcode), but if I terminate the app and start it again, it crashes immediately, and it keeps doing that until I reinstall the app. I looked at the device logs and if I'm understanding it correctly, it's coming from one of the lines we add in the Setup:
Notes:
This only happens on a real iphone, doesn't reproduce in simulator
This reproduces with the example project of this repo as well
It does not crash in release build, only in debug build
I'm new to mobile app developing, and google'd everything I could, yet couldn't find anything helpful. I'd appreciate any help.
Thanks in advance!
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4364288000
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 10421c000-1052cc000 [ 16.7M] r-x/r-x SM=COW ...er.app/Runner
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [767]
Triggered by Thread: 0
Crashed: com.apple.main-thread
0 ??? 0x1852576f4 (Missing)
...
4 ??? 0x104e16f80 (Missing)
5 Runner 0x6780 +[GeneratedPluginRegistrant registerWithRegistry:] + 171 (GeneratedPluginRegistrant.m:171)
6 Runner 0x6e94 AppDelegate.application(_:didFinishLaunchingWithOptions:) + 23 (AppDelegate.swift:23)
7 Runner 0x71ac @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) (<compiler-generated>)
8 ??? 0x182c27044 (Missing)
...
42 ??? 0x182b967f4 (Missing)
43 Runner 0x7578 main + 15 (AppDelegate.swift:15)
44 ??? 0x104345a24 (Missing)
Hi, thank you for fixing the original repo and creating this fork.
I'm having issues with this plugin though: The app works fine at first (when I run
flutter run
or just run the app through Xcode), but if I terminate the app and start it again, it crashes immediately, and it keeps doing that until I reinstall the app. I looked at the device logs and if I'm understanding it correctly, it's coming from one of the lines we add in the Setup:Notes:
I'm new to mobile app developing, and google'd everything I could, yet couldn't find anything helpful. I'd appreciate any help.
Thanks in advance!
Here's my AppDelegate.swift: