Skip to content

Commit

Permalink
fix: iOS runtime error
Browse files Browse the repository at this point in the history
[iOS] runtime error fix for latest RN versions
  • Loading branch information
doomsower committed Jul 20, 2020
2 parents 8343bda + cf71ba9 commit 90a3afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/VkontakteManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ - (dispatch_queue_t)methodQueue {
RCT_EXPORT_METHOD(initialize: (nonnull NSNumber *) appId) {
DMLog(@"Initialize app id %@", appId);

sdk = [VKSdk initializeWithAppId:[appId stringValue]];
sdk = [VKSdk initializeWithAppId:[NSString stringWithFormat:@"%@", appId]];
[sdk registerDelegate:self];
[sdk setUiDelegate:self];
[VKSdk wakeUpSession:@[] completeBlock:^(VKAuthorizationState state, NSError *error) {}];
Expand Down

0 comments on commit 90a3afc

Please sign in to comment.