Releases: centrevilletech/Ti.ModernOneSignal
Release list
Ti.ModernOneSignal 3.1.0
First release of the fork. Both platforms build and run on current toolchains.
The module id stays com.williamrijksen.onesignal, so this drops into an existing app without any JavaScript changes.
iOS
The last published iOS build was a fat static library from 2020 with no arm64 simulator slice, which stops the build on any Apple Silicon Mac:
The app is using native modules that do not support arm64 simulators
and you are on an arm64 device: com.williamrijksen.onesignal
This build uses OneSignal iOS SDK 3.12.10, whose XCFrameworks include ios-arm64_x86_64-simulator. The module code was ported to the 3.x API, since 3.x removed the old init signature, the notification blocks, OSNotificationPayload, getPermissionSubscriptionState and setSubscription:. The event keys your JavaScript reads did not change.
Android
Uses OneSignal Android SDK 4.8.x, from Michael Gangolf's fork, plus a fix for the manifest package attribute that current versions of the Android Gradle Plugin reject.
Install
Unzip in your project root, then declare the module in tiapp.xml. Full instructions and the porting notes are in the README.
Requires Titanium SDK 13.0.0.GA or later.
Verified
Built and run, not only compiled. iOS 26.5 simulator on Xcode 26.5, and an Android 14 emulator, both on Titanium SDK 13.4.0.GA.
Credit to William Rijksen for the original module and to Michael Gangolf for the Android SDK work. Please read the license note in the README before commercial use.