These are chat archives for angular/angular-2-ionic-2

10th
Apr 2017
Nikita A. Koroed
@koroed
Apr 10 2017 07:12
@amreladawy i hope ionic storage won't work with security storage (key chain) on ios and don't have any special options for secured data on android
Amr ElAdawy
@amreladawy
Apr 10 2017 07:15
@koroed I am sorry I dont get your point
Nikita A. Koroed
@koroed
Apr 10 2017 07:18
I need to keep the authorization token, will it be safe to use Storage ?
or is it more correct to take the Security Storage?
Amr ElAdawy
@amreladawy
Apr 10 2017 07:19
@koroed I was just struggling with this thing specifically. I am using ionic for browser platform where things are worse. For your case, you can go with the secure storage http://ionicframework.com/docs/native/secure-storage/
Nikita A. Koroed
@koroed
Apr 10 2017 07:23
@amreladawy but if i take security storage, i can't run my app in browser for debug, i get error "No provider for SecureStorage!". run app on device each time... bad idea ;( _
Amr ElAdawy
@amreladawy
Apr 10 2017 07:24
@koroed That is the catch, but there are many workarounds
Nikita A. Koroed
@koroed
Apr 10 2017 07:25
@amreladawy any example? i can't find any
Amr ElAdawy
@amreladawy
Apr 10 2017 07:27
You can Mock the Secure Storage https://ionicframework.com/docs/native/browser.html
Nikita A. Koroed
@koroed
Apr 10 2017 07:29
@amreladawy thx!
Harald Wiesinger
@s3ppo
Apr 10 2017 11:20
hi.. i provide a logout function in a popover that is placed on all pages.. if i press the button the logout is executed, but my ngOnDestroy from the calling page is not processed, so the unsubscribe can't be done before and i get a dump screen. anybody knows a way to fix ?
Harald Wiesinger
@s3ppo
Apr 10 2017 14:02
i shit i forgot, its about angularfire2
Candice
@smrtsmrf
Apr 10 2017 22:11
is there a way with FormBuilder to determine if changes have actually been made in a form (as opposed to when a user starts to change a field but then changes their mind, leaving the field identical to it's starting point)?