-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from OneSignal/entitlements-change
Fix: Missing Push Capability on iOS
- Loading branch information
Showing
11 changed files
with
86 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/** | ||
* OneSignalPluginProps refer to the properties set by the user in their app config file (e.g: app.json) | ||
*/ | ||
export type OneSignalPluginProps = { | ||
/** | ||
* (iOS only) Environment name and bundle identifier | ||
*/ | ||
mode: Mode; | ||
devTeam: string; | ||
iPhoneDeploymentTarget: string; | ||
}; | ||
|
||
/** | ||
* Not to be confused with OneSignalPluginProps, PluginOptions are the *internal* properties used by the config plugin | ||
* These include a combination of user-defined properties (from OneSignalPluginProps) and other data to pass between functions | ||
*/ | ||
export type PluginOptions = { | ||
iosPath: string, | ||
mode: Mode, | ||
devTeam?: string, | ||
bundleVersion?: string, | ||
bundleShortVersion?: string, | ||
bundleIdentifier?: string, | ||
iPhoneDeploymentTarget?: string | ||
} | ||
|
||
export enum Mode { | ||
Dev = "development", | ||
Prod = "production" | ||
} |