Skip to content

Commit

Permalink
Merge pull request #779 from OneSignal/notification-issues
Browse files Browse the repository at this point in the history
fix(notification):  permissions issues on local env
  • Loading branch information
devpato committed Apr 19, 2021
2 parents 0481fed + 88a638d commit cfa551a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/managers/PermissionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ export default class PermissionManager {
(
this.isCurrentFrameContextCrossOrigin() ||
await SdkEnvironment.isFrameContextInsecure() ||
OneSignalUtils.isUsingSubscriptionWorkaround() ||
SdkEnvironment.isInsecureOrigin()
OneSignalUtils.isUsingSubscriptionWorkaround()
)
);
}
Expand Down

0 comments on commit cfa551a

Please sign in to comment.