asking for notification permissions on authentication for more reliability for it to work off the bat and permissions for notifications

This commit is contained in:
talksik
2021-12-24 00:15:14 -08:00
parent 4b2208eae6
commit c361411728
4 changed files with 57 additions and 31 deletions
@@ -143,7 +143,9 @@ struct InnerCircleView: View {
// activate 3 data listeners once for authsessionstore/usermanager if not already called, but authsessionstore will handle that
self.authSessionStore.activateMainDataListeners()
// save device token
// set up push notifications and such + save up to date device token
// TODO: this is firing too often?
self.innerCircleVM.setUpPushNotifications()
}
// .onDisappear {
// print("deiniting data listeners, but current data should still be cached!")