We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7191f commit dbfb104Copy full SHA for dbfb104
ios/Classes/InstabugFlutterPlugin.m
@@ -56,10 +56,10 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
56
* the SDK's UI.
57
*/
58
+ (void)startWithToken:(NSString *)token invocationEvents:(NSArray*)invocationEventsArray {
59
- NSDictionary *invocationEventsMap = [self constants];
+ NSDictionary *constants = [self constants];
60
NSInteger invocationEvents = IBGInvocationEventNone;
61
for (NSString * invocationEvent in invocationEventsArray) {
62
- invocationEvents |= ((NSNumber *) invocationEventsMap[invocationEvent]).integerValue;
+ invocationEvents |= ((NSNumber *) constants[invocationEvent]).integerValue;
63
}
64
[Instabug startWithToken:token invocationEvents:invocationEvents];
65
0 commit comments