(args)
| 269 | UIApplication?.sharedApplication?.registerForRemoteNotifications?.(); |
| 270 | } else { |
| 271 | const cb = (args) => { |
| 272 | UIApplication?.sharedApplication?.registerForRemoteNotifications?.(); |
| 273 | Application.off('launch', cb); |
| 274 | }; |
| 275 | Application.on('launch', cb); |
| 276 | } |
| 277 | }); |