Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function requestPermissonsIntent(app){
- const permission = [app.SupportedPermissions.NAME];
- app.askForPermission('Für eine korrekte Ausführung', permission);
- }
- //later in my code when asking for the userID and userName
- if(app.isPermissionGranted()){
- const userName = app.getUserName().displayName;
- //getting the userName works fine
- const userUID = app.getUser().userID;
- //userUID is undefinded
- ...
Add Comment
Please, Sign In to add comment