All notable changes to this project will be documented in this file.
- Move target check to top of function to avoid adding duped PBXGroup
- Plugin Prop Validation & Improvements
- Add ability to set the small icon accent color
- Update Usage in README to reflect major release changes
- Native version update & major release
- Bump word-wrap from 1.2.3 to 1.2.4
- Update iOS generation to write xcode project via expo mod rather than directly to file system.
- Bump qs from 6.5.2 to 6.5.3
- Bump decode-uri-component from 0.2.0 to 0.2.2
- Bump @xmldom/xmldom from 0.7.5 to 0.7.10
- Bump multiple dependency versions in OneSignal Example App (ua-parser-js, decode-uri-component, @sideway/formula, @xmldom/xmldom)
- Update monorepo logic to rely on the more reliable
require.resolveto find theonesignal-expo-pluginpackage.
- Add
iosNSEFilePathconfiguration options to the plugin, which allows an app to specify a custom iOS Notification Service Extension.
- Add
smallIconsandlargeIconsconfiguration options to the plugin, which allows an app to specify large and small notification icons to package within the Android build. - Bump jpeg-js from 0.4.3 to 0.4.4
- Bump simple-plist from 1.3.0 to 1.3.1
- Specify
use_frameworksonOneSignalNotificationServiceExtensiontarget in iOS Podfile when applicable (i.e. the app target also specifiesuse_frameworks).
- Fix issue where EAS release builds were no longer successfully building due to log statement
- No longer inject the OneSignal Gradle plugin on Android builds
- Fix issue where plugin does not support monorepos
- Add more info regarding the
expo prebuildcommand to README.
- Upstream EAS workaround for "Missing Push Capability on iOS" issue. Adds
aps-environmententitlement to NSE template. Although it is not required in normal builds, there is an upstream limitation from EAS that is resolved by including the push entitlement in both target entitlement files. As of 4/8/22, EAS builds will randomly pick an entitlement file if there are multiple in a project without differentiating among targets. This is resulting in flaky builds where half the time they work and half the time they don't. This can be seen as a temporary fix. Note it carries no side-effects / repercussions (i.e: the entitlement is superfluous but not critical to remove in the future).
- Upgrade dependencies (via dependabot)
- Add credentials guide and update README
- Advance to General Availability
- Linting
- Instead of creating a "WriterManager", we repurpose the ReaderManager class by renaming it to FileManager and adding a synchronized write helper function (synchronous in the sense that it block further execution until complete).
- iOS constants file
- Import cleanups
- Linting errors
- Write safety issu. NSE updater helper functions were previously writing to the entitlements & plist files asynchronously. We should await on each to ensure we don't have multiple writes to the same file at once (which is unsafe).
- ability to configure version numbers used in the NSE target's plist file.
OneSignalLogclass for better console logging.- this changelog file.
- re-running
expo prebuildwill no longer result in duplicate entitlements and dependencies added to native files.