ZEGOCLOUD / zego_uikit_prebuilt_call_rn

MIT License
1 stars 2 forks source link

Getting error `JSON value '303686876' of type NSString cannot be converted to NSNumber` on page load #3

Closed jojitoon closed 1 year ago

jojitoon commented 1 year ago

The example keep breaking with this error

JSON value '303686876' of type NSString cannot be converted to NSNumber

+[RCTConvert NSNumber:]
    RCTConvert.m:60
+[RCTConvert NSUInteger:]
-[RCTZegoExpressNativeModule createEngineWithProfile:resolver:rejecter:]
__invoking___
-[NSInvocation invoke]
-[NSInvocation invokeWithTarget:]
-[RCTModuleMethod invokeWithBridge:module:arguments:]
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
main
start_sim
0x0

and the camera or microphone does not work at all

jojitoon commented 1 year ago

this was the app id , just needed to be passed as a number 😄