deleteInstanceId (Android only)

This commit is contained in:
Michele Bombardi 2017-09-26 16:44:15 +02:00
parent e6cb5fed60
commit afe7bed6e2
1 changed files with 4 additions and 0 deletions

View File

@ -257,6 +257,10 @@ RCT_EXPORT_METHOD(getToken:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseR
resolve([FIRMessaging messaging].FCMToken);
}
RCT_EXPORT_METHOD(deleteInstanceId:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
resolve(nil);
}
RCT_EXPORT_METHOD(requestPermissions:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
if (RCTRunningInAppExtension()) {
return;