Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.0b4

Issue ID

1037675

Regression

Yes

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

iOS

-

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

Note:
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 (fix version 2019.1):

    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

    itsOgden

    Jan 23, 2019 23:06

    Did anyone figure out how to deal with this?

  2. 3a975169c9fc59dc0b6aa67962b73ed7?d=mm

    itsOgden

    Jan 23, 2019 23:04

    Did anyone figure out how to deal with this?

  3. 3b7eae802ae27cb3548f7d48f619c472?d=mm

    Devil_Inside

    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

    Litovets

    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.