[ReactNative] Remove auto permission request from setAppIconBadgeNumber
This commit is contained in:
parent
3f137da232
commit
fe0527a7c4
|
@ -93,11 +93,6 @@ NSString *const RCTOpenURLNotification = @"RCTOpenURLNotification";
|
||||||
{
|
{
|
||||||
RCT_EXPORT();
|
RCT_EXPORT();
|
||||||
|
|
||||||
static dispatch_once_t onceToken;
|
|
||||||
dispatch_once(&onceToken, ^{
|
|
||||||
[self requestPermissions];
|
|
||||||
});
|
|
||||||
|
|
||||||
[UIApplication sharedApplication].applicationIconBadgeNumber = number;
|
[UIApplication sharedApplication].applicationIconBadgeNumber = number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue