ios app crashes after firebase login

Hi,

my app works great on android (sim and real device), but the ios version crashes after login from firebase.

I have persistence enabled, but I tested it without, doesn’t work.

Do you have any clue, where the problem could be?

Here is the stacktrace from ios simulator (Iphone 6):

May 12 21:05:31 Fionas-MBP EventManagment[47210]: *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]’
*** First throw call stack:
(
0 CoreFoundation 0x0000000110593b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010f77c141 objc_exception_throw + 48
2 CoreFoundation 0x00000001104aeac2 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 354
3 CoreFoundation 0x00000001104ae92b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
4 EventManagment 0x000000010cfa6758 -[RNFirebaseAuth convertProviderData:] + 659
5 EventManagment 0x000000010cfa6b1b -[RNFirebaseAuth firebaseUserToDict:] + 723
6 EventManagment 0x000000010cfa2df8 __38-[RNFirebaseAuth addAuthStateListener]_block_invoke + 156
7 EventManagment 0x000000010cdadc11 __41-[FIRAuth addAuthStateDidChangeListener:]_block_invoke.362 + 58
8 libdispatch.dylib 0x00000001128b6585 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00000001128d7792 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00000001128bf247 _dispatch_main_queue_callback_4CF + 1041
11 CoreFoundation 0x0000000110558909 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
12 CoreFoundation 0x000000011051eae4 __CFRunLoopRun + 2164
13 CoreFoundation 0x000000011051e016 CFRunLoopRunSpecific + 406
14 GraphicsServices 0x0000000112faea24 GSEventRunModal + 62
15 UIKit 0x00000001133430d4 UIApplicationMain + 159
16 EventManagment 0x000000010cce19f7 main + 80
17 libdyld.dylib 0x000000011292065d start + 1
)

Author: Fantashit

1 thought on “ios app crashes after firebase login

Comments are closed.

ios app crashes after firebase login

Hi,

my app works great on android (sim and real device), but the ios version crashes after login from firebase.

I have persistence enabled, but I tested it without, doesn’t work.

Do you have any clue, where the problem could be?

Here is the stacktrace from ios simulator (Iphone 6):

May 12 21:05:31 Fionas-MBP EventManagment[47210]: *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]’
*** First throw call stack:
(
0 CoreFoundation 0x0000000110593b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010f77c141 objc_exception_throw + 48
2 CoreFoundation 0x00000001104aeac2 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 354
3 CoreFoundation 0x00000001104ae92b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
4 EventManagment 0x000000010cfa6758 -[RNFirebaseAuth convertProviderData:] + 659
5 EventManagment 0x000000010cfa6b1b -[RNFirebaseAuth firebaseUserToDict:] + 723
6 EventManagment 0x000000010cfa2df8 __38-[RNFirebaseAuth addAuthStateListener]_block_invoke + 156
7 EventManagment 0x000000010cdadc11 __41-[FIRAuth addAuthStateDidChangeListener:]_block_invoke.362 + 58
8 libdispatch.dylib 0x00000001128b6585 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00000001128d7792 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00000001128bf247 _dispatch_main_queue_callback_4CF + 1041
11 CoreFoundation 0x0000000110558909 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
12 CoreFoundation 0x000000011051eae4 __CFRunLoopRun + 2164
13 CoreFoundation 0x000000011051e016 CFRunLoopRunSpecific + 406
14 GraphicsServices 0x0000000112faea24 GSEventRunModal + 62
15 UIKit 0x00000001133430d4 UIApplicationMain + 159
16 EventManagment 0x000000010cce19f7 main + 80
17 libdyld.dylib 0x000000011292065d start + 1
)

Author: Fantashit

1 thought on “ios app crashes after firebase login

Comments are closed.

ios app crashes after firebase login

Hi,

my app works great on android (sim and real device), but the ios version crashes after login from firebase.

I have persistence enabled, but I tested it without, doesn’t work.

Do you have any clue, where the problem could be?

Here is the stacktrace from ios simulator (Iphone 6):

May 12 21:05:31 Fionas-MBP EventManagment[47210]: *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]’
*** First throw call stack:
(
0 CoreFoundation 0x0000000110593b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010f77c141 objc_exception_throw + 48
2 CoreFoundation 0x00000001104aeac2 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 354
3 CoreFoundation 0x00000001104ae92b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
4 EventManagment 0x000000010cfa6758 -[RNFirebaseAuth convertProviderData:] + 659
5 EventManagment 0x000000010cfa6b1b -[RNFirebaseAuth firebaseUserToDict:] + 723
6 EventManagment 0x000000010cfa2df8 __38-[RNFirebaseAuth addAuthStateListener]_block_invoke + 156
7 EventManagment 0x000000010cdadc11 __41-[FIRAuth addAuthStateDidChangeListener:]_block_invoke.362 + 58
8 libdispatch.dylib 0x00000001128b6585 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00000001128d7792 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00000001128bf247 _dispatch_main_queue_callback_4CF + 1041
11 CoreFoundation 0x0000000110558909 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
12 CoreFoundation 0x000000011051eae4 __CFRunLoopRun + 2164
13 CoreFoundation 0x000000011051e016 CFRunLoopRunSpecific + 406
14 GraphicsServices 0x0000000112faea24 GSEventRunModal + 62
15 UIKit 0x00000001133430d4 UIApplicationMain + 159
16 EventManagment 0x000000010cce19f7 main + 80
17 libdyld.dylib 0x000000011292065d start + 1
)

Author: Fantashit

1 thought on “ios app crashes after firebase login

Comments are closed.