SDKsAndroid
Versioning and payload contract
SemVer policy for the MotiSig Android SDK and the rich image payload contract.
Image payload contract
The Android example helper (PushImageUrl) and the iOS / Expo helpers resolve the first non-empty match from:
_motisig.imageUrl/_motisig.image_url/_motisig.image(MotiSig AI canonical)_richContent.image(Expo push relay)fcm_options.image(FCM relay)- Top-level
image/imageUrl/image_url
(The Android helper also considers sorted ios_attachment_*_url keys for cross-platform payloads.)
A single server payload that uses _motisig.imageUrl lights up the banner image wherever the right delivery setup is in place. See Rich notification images.
Versioning
The Android SDK follows semantic versioning. Changes considered breaking:
- Removing or renaming a public symbol in the
ai.motisig.sdkpackage. - Changing a method signature in
MotiSigNotificationListener,MotiSigFirebaseMessagingService, orMotiSigError. - Adding a new required parameter to
MotiSig.initializeor to a public model constructor. - Renaming or removing a
MotiSigErrorsubclass. - Changing the canonical push payload keys (
_motisig.imageUrl,messageId, etc.) on the wire. - Raising
minSdkabove 21.
Additive changes (new methods, new optional parameters, new MotiSigNotification fields with sensible defaults) are minor or patch.
Release notes: CHANGELOG.