Skip to content

🍏 fix [value] placeholder is notifs' message not replaced after app h… #20

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

🍏 fix [value] placeholder is notifs' message not replaced after app h… #20

wants to merge 1 commit into from

Conversation

calypsow777
Copy link

@calypsow777 calypsow777 commented Sep 17, 2020

…as been killed

The contents of the valueDic Dictionary in RNSimpleNativeGeofencing.swift get discarded when the app is killed. So when we kill the app and then receive a notif, the [value] placeholder in the notif's message cannot get replaced.

I've used UserDefaults to replace the Dictionary because it persists the data across launches of the app.

I have zero experience in iOS development so I don't know if it's the right way to go about it.

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.

1 participant