Skip to content

Commit

Permalink
Merge pull request #167 from uzegonemad/hotfix/ios-callback
Browse files Browse the repository at this point in the history
Fix iOS createTemplate callback
  • Loading branch information
birkir authored Feb 16, 2024
2 parents 73d3185 + db2c701 commit cd0bee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-carplay/ios/RNCarPlay.m
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ - (void)updateItemImageWithURL:(CPListItem *)item imgUrl:(NSString *)imgUrlStrin
}
}

RCT_EXPORT_METHOD(createTemplate:(NSString *)templateId config:(NSDictionary*)config) {
RCT_EXPORT_METHOD(createTemplate:(NSString *)templateId config:(NSDictionary*)config callback:(id)callback) {
// Get the shared instance of the RNCPStore class
RNCPStore *store = [RNCPStore sharedManager];

Expand Down

0 comments on commit cd0bee2

Please sign in to comment.