Closed
Bug 1198943
Opened 11 years ago
Closed 11 years ago
Ensure that we're requesting remote notification permissions, and keeping tokens
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| fxios | 1.1+ | --- |
People
(Reporter: rnewman, Unassigned)
Details
Stefan, filing a bug to track this. Flesh this out?
| Reporter | ||
Updated•11 years ago
|
Comment 1•11 years ago
|
||
so, we need to add implementations for the following functions in the AppDelegate (in Swift 1.2 parlance):
func application(application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError)
func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData)
In one we need to handle the failure of a registration for remote notifications and in the other we need to do whatever it is we need to do with the provided token, saving it somewhere for now presumably (:@st3fan?)
We also register for notifications only once, currently, when the user signs up for an account. As we are not currently saving that remote notification registration token we might need to ensure that we re-request that remote notification registration from existing users in order to grab that token. We should figure out a way of ensuring that happens only once.
Flags: needinfo?(sarentz)
Comment 2•11 years ago
|
||
That sounds good. I think we can delay all this work until we are also adding functionality to actually deal with remote notifications. It sounds like we can simply always ask for it and always get the token back. (Assuming iOS does not nag the user if they have previously said No)
So I don't think there is any urgency of saving that token right now for 1.0 or 1.1.
Flags: needinfo?(sarentz)
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: etoop → nobody
Status: ASSIGNED → NEW
Updated•11 years ago
|
Flags: needinfo?(sarentz)
Comment 3•11 years ago
|
||
Closing this bug because there is no work required at this point.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(sarentz)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•