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

28th
Jun 2018
Ali Bulut
@ali27001
Jun 28 2018 07:33
I can not get the identity of the device for iOS iOS. The plugin is not working. I used device.uuid. The id changes when I delete the application and reload it. I need to bite. Works fine for Android but iOS is not working
how can i get id of the device
Owen Melbourne
@OwenMelbz
Jun 28 2018 07:50
its impossible - its an apple security feature
apple to do not expose a device id - they only expose a install id
otherwise App X could identify users from App Y - because they both have the same id
store what ever you need using the icloud storage system
then when they install the app again and authenticate, it will pull it back down
Ali Bulut
@ali27001
Jun 28 2018 08:04
it will also show the upload ID. An unchanging and unique key belonging to the device I need.
Owen Melbourne
@OwenMelbz
Jun 28 2018 08:05
you cant get it
Ali Bulut
@ali27001
Jun 28 2018 08:07
how can I recognize it when the customer deletes the app and uploads it again
a membership is only available on one device. It is entered by the customer and it is logged in once and then not logged in. If they delete the application and load again, the device will recognize the ID and log in automatically. I do this on android
Ali Bulut
@ali27001
Jun 28 2018 08:13
I need a unique number to do this at IOS. Another method ?
Owen Melbourne
@OwenMelbz
Jun 28 2018 08:14
will be tricky - this post sort fo explains the issue https://stackoverflow.com/a/40753810/470159
Evernote do this by storing in a remote database the ids of the installed devices - then if you login to a new device it says "your already logged into another device, you must log this one out to login here"
then it saves that as the current device
UncertaintyP
@UncertaintyP
Jun 28 2018 08:22
What plugin do you use?
Ali Bulut
@ali27001
Jun 28 2018 08:24
cordova-plugin-device 2.0.1 "Device"
UncertaintyP
@UncertaintyP
Jun 28 2018 08:32
Be aware that a factory reset will change the UUID on android as well. I have seen apps using fingerprint.js but it has its flaws as well
Ali Bulut
@ali27001
Jun 28 2018 09:05
iosta how to do this operation. Your disappearing suggestion
Matheus de Sousa Menezes
@developermatheus_gitlab
Jun 28 2018 13:20
Hello! Is anyone having problems with the ios navbar being pushed when the keyboard goes up? I searched for a solution but people just disabled the keyboard scroll (which partially solves the problem, but you will lose the feature of the scroll when you focus on an input)
Ali Bulut
@ali27001
Jun 28 2018 14:33
I want to zoom in on content with ionic. I use scroll on my page. how can I do that