-
Notifications
You must be signed in to change notification settings - Fork 16
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
Crash on IPhone 7 plus #527
Comments
Hi @ashishp-dev ! Could you please provide more context regarding the error? Specifically, what operation are you trying to perform (e.g. publish/receive a message), and which lines of code are causing the app to crash? Additionally, could you let me know what version of ably-flutter you are using? Thank you! |
On which iOS version does this occur? |
@VeskeR Any update?? |
Hey @ashishp-dev, We are still trying to reproduce the issue on our end. To help us understand the exact point at which the error occurs, could you please enable verbose logging and add the logs to the issue report? This would assist us in diagnosing the problem. Additionally, could you let us know if the issue only occurs on a physical device, or if it can be reproduced on an emulator as well? |
Yes this is happening on the physical device of iPhone 7 plus. Not happening on the simulator. |
I am getting this logs 2024-06-18 15:26:56.644066+0530 Soul Train Dev[34906:1440758] DEBUG: (ARTAuth.m:171) RS:0x280ad03c0 setting up auth method Basic (anonymous)
|
Hey @ashishp-dev, We still can't reproduce the issue. Could you please share the version of Flutter you are using? Please note that the latest version of Flutter officially supports only iOS 17. Could you also check our example app from this repository? Could you reproduce the issue with it? |
@ttypic i am using this flutter version (3.22.1) |
Issue is resolved now when i write client options something like this.
when i write like this my iphone 7 is crashing |
Thank you for sharing this @ashishp-dev. Now I got it, ably.Realtime(key: ApiConstant.ABLY_KEY, options: clientOptions); You can't use it like this. You should specify either Thank you once again for spotting this. We will throw an explicit exception in this case. |
Still app is crashing, I identify the what is the main crash issue. When i write something like this that i am facing the crash
without transportParams param my app is not crashing it is working fine. But my issue is we need this parameters as on our Backend system this is depending to go further. So i am not allowing to remove this transportParams . So can you please look into this at high priority. |
@ashishp-dev, we’ve found a potential problem related to the |
@ashishp-dev We've published a new version (1.2.33) that should solve the issue. If the issue still exists, please feel free to reopen the ticket |
Hey @ttypic My crash problem is fixed now, this will help to lots of IOS crash Thank you! |
[NSTaggedPointerString stringValue]: unrecognized selector sent to instance 0xbeda7c7407f36903
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString stringValue]: unrecognized selector sent to instance 0xbeda7c7407f36903'
*** First throw call stack:
(0x180927c60 0x198153ee4 0x1809f86e8 0x1808c154c 0x1808c075c 0x10634145c 0x1808d28c8 0x1809060f8 0x1063411fc 0x106340c6c 0x106318aa4 0x106317504 0x106316ec4 0x1063157ec 0x1805e8094 0x180595964 0x10631576c 0x1063149b0 0x1063140a8 0x10a9359ac 0x10a939638 0x111dd61e4 0x111845794 0x1805e7094 0x1805e8094 0x180594d44 0x180594994 0x1808e3014 0x1808a04f8 0x1808b3174 0x1a13ee988 0x1830b67d8 0x182e4fc70 0x10474901c 0x1060f04d0)
libc++abi: terminating with uncaught exception of type NSException
frame #0: 0x00000001bb207bbc libsystem_kernel.dylib
__pthread_kill + 8 libsystem_kernel.dylib
:-> 0x1bb207bbc <+8>: b.lo 0x1bb207bd8 ; <+36>
0x1bb207bc0 <+12>: stp x29, x30, [sp, #-0x10]!
0x1bb207bc4 <+16>: mov x29, sp
0x1bb207bc8 <+20>: bl 0x1bb20360c ; cerror_nocancel
Target 0: (Soul Train Dev) stopped.
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: