Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[v3] Add TTL to upstream messages #178

Open
Assignees
Milestone
@Ehesp

Description

Currently any messages sent using messaging().send(...) have a TTL of 0. If the device is offline they won't be sent when it reconnects. Adding a TTL handles this for us but it's currently not set.

Locally on Android I've added this myself below this line: https://github.com/fullstackreact/react-native-firestack/blob/master/android/src/main/java/io/fullstack/firestack/FirestackCloudMessaging.java#L165

remoteMessage.setTtl(300);

This should be configurable/have a default.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /