freshworks / hotline-phonegap

Hotline Phonegap Plugin
https://hotline.io
Other
6 stars 11 forks source link

[URGENT]Xcode 8 Crash #15

Closed theavijitsarkar closed 7 years ago

theavijitsarkar commented 7 years ago

There are hundreds of file showing as missing. And some other warnings also. In a gist this is not working in xcode 8

theavijitsarkar commented 7 years ago

It is crashing on IOS. Cannot include this plugin anymore.

2016-10-15 10:05:26.955756 Regular.li[2528:1126808] THREAD WARNING: ['HotlinePlugin'] took '209.966064' ms. Plugin should use a background thread.
2016-10-15 10:05:27.173366 Regular.li[2528:1126808] -[NSNull isEqualToString:]: unrecognized selector sent to instance 0x1ab1b5ef8
2016-10-15 10:05:27.178418 Regular.li[2528:1126808] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull isEqualToString:]: unrecognized selector sent to instance 0x1ab1b5ef8'
*** First throw call stack:
(0x1863441c0 0x184d7c55c 0x18634b278 0x186348278 0x18624259c 0x100185058 0x1886b7b68 0x10047121c 0x100476284 0x1862f1f2c 0x1862efb18 0x18621e048 0x187ca1198 0x18c1f8628 0x18c1f3360 0x100060cb4 0x1852005b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
jcsrb commented 7 years ago

@snowbreeze we had a similar error messages, it turned out that in the Hotline.updateUser() we had some null values and those crashed the app

hrishikesh-p commented 7 years ago

the missing files are from android SDK .. And we removed the files we shipped with the SDK to use gradle plugin to manage the dependencies ..

@snowbreeze from the crash info .. it looks like you are passing in a null value. Can you please share the init code to support@hotline.io so that we can check at our end ?

Xcode 8 works fine .. We were able to test sucessfully at our end .