Search Issue Tracker

Won't Fix



Found in


Issue ID




[iOS] Using Local Notification services creates Push notification Entitlement Key and enables Push notification capability



Steps to reproduce:

1. Open attached project
2. Build 'SampleScene' to iOS
3. Open generated Xcode project

Actual behaviour: 'Push Notifications' capability has been enabled even though push notifications aren't used
Expected behaviour: 'Push Notifications' cabality should remain disbaled and entitlement key for it should not be created

This happens even if the script referencing NotificationServices isn't used in the built scene.

Reproduced with: 2018.2.0a3, 2018.2.0b4
Not reproduced with: 2018.1.1f1

  1. Response avatar

    Resolution Note:

    There is no nice way to solve this, because with the current API we can't know if the user will use remote notifications in build time. And the whole API is going to be deprecated anyway.

Comments (4)

  1. 3a975169c9fc59dc0b6aa67962b73ed7?d=mm


    Jan 23, 2019 23:06

    Did anyone figure out how to deal with this?

  2. 3a975169c9fc59dc0b6aa67962b73ed7?d=mm


    Jan 23, 2019 23:04

    Did anyone figure out how to deal with this?

  3. 3b7eae802ae27cb3548f7d48f619c472?d=mm


    Jan 08, 2019 15:57

    So how am I supposed to fix this if I don't use or need push notifications?

  4. 5ca00570fb62d0a4708f488b2a74d4e8?d=mm


    Aug 10, 2018 14:04

    I found this problem in 2018.2.2f1. If I'm not mistaken this problem is appearing because of automatic generating '.entitlements' file and adding it to xCode build. I don't have entitlements file in my project but it is always there.
    In the same time this file is not present in xCode build on new clean project.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.