File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ export const IterableAppProvider: FunctionComponent<
213213 // Initialize app
214214 return Iterable . initialize ( key , config )
215215 . then ( ( isSuccessful ) => {
216+ console . log ( 'initialize success' , isSuccessful ) ;
216217 setIsInitialized ( isSuccessful ) ;
217218
218219 if ( ! isSuccessful )
Original file line number Diff line number Diff line change @@ -608,16 +608,15 @@ import React
608608 name: Notification . Name. iterableInboxChanged, object: nil )
609609
610610 DispatchQueue . main. async {
611- IterableAPI . initialize2 (
611+ IterableAPI . initialize (
612612 apiKey: apiKey,
613613 launchOptions: launchOptions,
614- config: iterableConfig,
615- apiEndPointOverride: apiEndPointOverride
616- ) { result in
617- resolver ( result)
618- }
614+ config: iterableConfig
615+ )
619616
620617 IterableAPI . setDeviceAttribute ( name: " reactNativeSDKVersion " , value: version)
618+
619+ resolver ( true )
621620 }
622621 }
623622
You can’t perform that action at this time.
0 commit comments