After integration of Black-Berry in iOS(React-Native), when app launches on simulator, it got crashed. Error is :-
Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'Delegate property not set. Either call [GDiOS authorize:] and pass an object that
implements the GDiOSDelegate protocol, or set the delegate property of the GDiOS instance prior
to calling [GDiOS authorize].
Reference used :- https://github.com/blackberry/BlackBerry-Dynamics-React-Native-SDK/blob/master/modules/BlackBerry-Dynamics-for-React-Native-Base/README.md
Error Screenshot:-
Main.m class :-
AppDelegate.h :-
#import <React/RCTBridgeDelegate.h>
#import <UIKit/UIKit.h>
#import <BlackBerryDynamics/GD/GDiOS.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate,GDiOSDelegate>
@property (nonatomic, strong) UIWindow *window;
@end


After stuck few days I solved it like this. So posting the answers hoping this may helps someone.
Add objCBBGDiOSDelegate.h file in the project
and objCBBGDiOSDelegate.m file in the project
And in the appdelegate.m file
In the appDelegate.h add didAuthorised