Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Firebase Analytics Push Notification?

Discussion in 'iOS and tvOS' started by mistergreen2016, Aug 21, 2019.

  1. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    I installed Firebase Analytics and I'm getting this in my binary

    ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement.
    I don't have push notification in my game and it seems like it's coming from Firebase. Did I install something I shouldn't have?
     
  2. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    It looks like the code in Firebase tricks Apple in thinking there's some push notification. It was only a warning and they still accepted my binary.
     
  3. karmington2

    karmington2

    Joined:
    Jul 30, 2018
    Posts:
    8
    This thread arises from the dead.
    If you have Push Notifications nagging you, check your build folder : Builds/iOS/Classes/Preprocessor.h
    Will likely contain this line:

    UNITY_USES_REMOTE_NOTIFICATIONS 1

    either change that to 0 or go uncheck Unity->Edit->ProjectSettings->Player->iOS->OtherSettings->Automatically add capabilies.
     
    VOXELIUM likes this.
  4. VOXELIUM

    VOXELIUM

    Joined:
    Nov 24, 2022
    Posts:
    37
    Hello
    in my Builds/iOS/Classes/Preprocessor.h i see UNITY_USES_REMOTE_NOTIFICATIONS 0

    Снимок экрана 2023-09-03 в 10.37.00.png

    but i still got a message from Apple ITMS-90078: Missing Push Notification Entitlement

    Is there another solution?
    Thank you )