Meteor-Community-Packages / Meteor-Community-Packages/raix-push

Push.configured data get lost after closing the app

Open
#261 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
505
Forks
191
PR merge metrics
No merged PRs in 30d

Description

Hi @raix , do you know why am I be losing the Push.configured after I close the app?
I'm doing this

```
if(!Push.configured) {
Push.Configure({
"ios": {
"sound": true,
"badge": true,
"alert": true,
"vibrate": true
}
});
}
```

Every time I close the app and open it again, `Push.configured` is `false`

Could it be related to the fact I'm using GroundDB?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Push.configured and Push.Configure entry points shown in the issue, then reproduce the value before and after closing and reopening the app. Check whether configuration is expected to persist across app restarts and whether GroundDB affects it; done means identifying the cause and confirming the behavior or fix on iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.