Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to send imageUrl and iconBigUrl in data payload Android #1001

Open
wants to merge 430 commits into
base: master
Choose a base branch
from

Conversation

kprigel
Copy link

@kprigel kprigel commented Feb 14, 2019

This modification adds imageUrl and iconBigUrl as optional data element payloads for Android FCM notifications. If set, the imageUrl will download and set the style to BigPictureStyle with the a bigPicture with the contents of imageUrl. If the iconBigUrl is set, the largeIcon will be set to the contents of the iconBigUrl. If the imageUrl is set, and iconBigUrl is not set, both largeIcon and bigPicture will be set to the contents of imageUrl. My primary mobile "hacking" language is Obj C, so I apologize for any format issues in advance.

@kprigel
Copy link
Author

kprigel commented Feb 22, 2019

Also added an optional pinbackUrl that will be opened with a get request upon successful processing of messages. This is a workaround for some Android device manufacturers aggressively managing background services. We use it to first send notifications as a data payload, with a 15 minute ttl (could be shorter or longer if desired), and then if the notification doesn’t “pingback” within 15 minutes, resending the notification as a notification payload.

dpa99c and others added 28 commits October 29, 2019 22:03
… invoked when the APNS token is allocated. Resolves arnesson#201.
…tual boolean type rather than a binary integer.

Fixes arnesson#153.
- to be fully synchronous to eliminate race conditions (remove q dependency)
- use xml-js (instead of xml2js) to convert XML>JSON and JSON>XML
- [Android] handle existing colors.xml. Resolves arnesson#132.
Contains BREAKING CHANGES - please read CHANGELOG.md for details
…xt when app is not running and therefore cordovaActivity doesn't exist. Resolves arnesson#165.
Fix .forEach is not a function
…r plugin variables not explicitly set at plugin install time.

Fixes arnesson#218.
…are added in one operation using `cordova prepare`, both platforms are processed.

Fixes arnesson#221.
Added description to IChannelOptions
dpa99c and others added 30 commits June 26, 2020 10:03
…iple existing `<color>` to prevent overwriting the existing values. Resolves arnesson#436.
…ng from topics. Partially resolves arnesson#422.

Rationalise plugin result callbacks and handling of async task results.
…rom topics. Fully resolves arnesson#422.

Rationalise plugin result callbacks and error handling.
# Conflicts:
#	CHANGELOG.md
#	package.json
#	plugin.xml
…on and resolves arnesson#440.

BREAKING CHANGE: Requires cocoapods>=1.9 (previously cocoapods>=1.8).
Adds hook script to check local cocoapods version during plugin install.
…on and resolves arnesson#440.

BREAKING CHANGE: Requires cocoapods>=1.9 (previously cocoapods>=1.8).
Adds hook script to check local cocoapods version during plugin install.

# Conflicts:
#	plugin.xml
…Messaging & Inapp Messaging.

# Conflicts:
#	plugin.xml
…rebase-to-6.28.0

update firebase pod to v6.28.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.