
Hey Matthias,
Thanks for contacting Urban Airship. My name is Chilun and I would be happy to help.
So what you're doing here is you are disabling the user notification functionality:
UAirship.shared().getPushManager().setUserNotificationsEnabled(false);
In this case, just set it to true and it should be okay.
UAirship.shared().getPushManager().setUserNotificationsEnabled(true);
Kind regards,
Chilun Liu
Senior Technical Support Engineer
Urban Airship
25 Lavington Street | London | SE1 0NZ
Portland | San Francisco | London | New York | Gurgao