No permission request at first start after install


#1

Helle there,

my title says all.

I have created a blank app and added the device plugin.

constructor(private platform: Platform, public navCtrl: NavController, public device: Device)
{
	this.platform.ready().then((readySource) => {
		console.log(this.device.uuid);
    	});
}

After the installation, the uuid returns null, if i quit the app and open again, i asked fpr permissions to access the phone.
After grand the permission, the uuid returns correctly.

Steps:

  1. Install app
  2. Open app first time
  3. No permission request
  4. uuid = null
  5. quit app
  6. reopen app
  7. permission request opened
  8. uuid not null

Does anybody know this?


#2

And at install, there is no permission listed.


#3

maybe you have to add the permission to your android manifest manualy or sth. like that
https://developer.android.com/training/permissions/declaring.html


#4

Already done, has no effect.