How can I prevent auto initialization firebase on ios?How can I disable the UITableView selection?How can I make a UITextField move up when the keyboard is present - on starting to edit?Using Auto Layout in UITableView for dynamic cell layouts & variable row heightsGoogle Firebase Push Notifications for iOS are not working in production environmentStack push notifications with Android FirebaseFirebase Messaging Unity Plugin shows notifications only in foregroundFirebase Cloud Message iOS Swift not workingHandle a Notification when Unity App is in Background with Firebase iOSNot receiving Firebase Cloud Messaging Notifications in ios“java.lang.IllegalStateException: AppMeasurement is not initialized” calling FirebaseAnalytics after Firebase initialized successfully

Are tax years 2016 & 2017 back taxes deductible for tax year 2018?

How to report a triplet of septets in NMR tabulation?

Can Medicine checks be used, with decent rolls, to completely mitigate the risk of death from ongoing damage?

Validation accuracy vs Testing accuracy

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

What is the logic behind how bash tests for true/false?

Could a US political party gain complete control over the government by removing checks & balances?

Is it possible to make sharp wind that can cut stuff from afar?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

Can a German sentence have two subjects?

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).

What is the offset in a seaplane's hull?

Can I make popcorn with any corn?

New order #4: World

Why is an old chain unsafe?

"You are your self first supporter", a more proper way to say it

Why is the design of haulage companies so “special”?

Extreme, but not acceptable situation and I can't start the work tomorrow morning

How old can references or sources in a thesis be?

How does one intimidate enemies without having the capacity for violence?

What are these boxed doors outside store fronts in New York?

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

How is this relation reflexive?



How can I prevent auto initialization firebase on ios?


How can I disable the UITableView selection?How can I make a UITextField move up when the keyboard is present - on starting to edit?Using Auto Layout in UITableView for dynamic cell layouts & variable row heightsGoogle Firebase Push Notifications for iOS are not working in production environmentStack push notifications with Android FirebaseFirebase Messaging Unity Plugin shows notifications only in foregroundFirebase Cloud Message iOS Swift not workingHandle a Notification when Unity App is in Background with Firebase iOSNot receiving Firebase Cloud Messaging Notifications in ios“java.lang.IllegalStateException: AppMeasurement is not initialized” calling FirebaseAnalytics after Firebase initialized successfully






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm working with firebase unity plugin on ios. I want to prevent firebase auto initialization and ask user for push notification permission later in the app. But firebase shows its annoying permission dialog on app startup.



  • Plugin version 5.4.4;

  • Xcode version 10.1;

  • Test device iPad ios 12.1.4.

And YES I've read this
https://firebase.google.com/docs/cloud-messaging/unity/client#prevent_auto_initialization and tried to implement many times. It doesn't work.
I've put this pair into my Info.plist:



<key>FirebaseMessagingAutoInitEnabled</key>
<false/>


Firebase just ignore this.










share|improve this question




























    0















    I'm working with firebase unity plugin on ios. I want to prevent firebase auto initialization and ask user for push notification permission later in the app. But firebase shows its annoying permission dialog on app startup.



    • Plugin version 5.4.4;

    • Xcode version 10.1;

    • Test device iPad ios 12.1.4.

    And YES I've read this
    https://firebase.google.com/docs/cloud-messaging/unity/client#prevent_auto_initialization and tried to implement many times. It doesn't work.
    I've put this pair into my Info.plist:



    <key>FirebaseMessagingAutoInitEnabled</key>
    <false/>


    Firebase just ignore this.










    share|improve this question
























      0












      0








      0








      I'm working with firebase unity plugin on ios. I want to prevent firebase auto initialization and ask user for push notification permission later in the app. But firebase shows its annoying permission dialog on app startup.



      • Plugin version 5.4.4;

      • Xcode version 10.1;

      • Test device iPad ios 12.1.4.

      And YES I've read this
      https://firebase.google.com/docs/cloud-messaging/unity/client#prevent_auto_initialization and tried to implement many times. It doesn't work.
      I've put this pair into my Info.plist:



      <key>FirebaseMessagingAutoInitEnabled</key>
      <false/>


      Firebase just ignore this.










      share|improve this question














      I'm working with firebase unity plugin on ios. I want to prevent firebase auto initialization and ask user for push notification permission later in the app. But firebase shows its annoying permission dialog on app startup.



      • Plugin version 5.4.4;

      • Xcode version 10.1;

      • Test device iPad ios 12.1.4.

      And YES I've read this
      https://firebase.google.com/docs/cloud-messaging/unity/client#prevent_auto_initialization and tried to implement many times. It doesn't work.
      I've put this pair into my Info.plist:



      <key>FirebaseMessagingAutoInitEnabled</key>
      <false/>


      Firebase just ignore this.







      ios firebase unity3d push-notification firebase-cloud-messaging






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 at 5:58









      widesteppewidesteppe

      6518




      6518






















          1 Answer
          1






          active

          oldest

          votes


















          0














          It was my fault (as usual). Just forget to remove this code from my FCMHelper class.



          public void OnDestroy()

          Firebase.Messaging.FirebaseMessaging.MessageReceived -= OnMessageReceived;
          Firebase.Messaging.FirebaseMessaging.TokenReceived -= OnTokenReceived;






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057520%2fhow-can-i-prevent-auto-initialization-firebase-on-ios%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            It was my fault (as usual). Just forget to remove this code from my FCMHelper class.



            public void OnDestroy()

            Firebase.Messaging.FirebaseMessaging.MessageReceived -= OnMessageReceived;
            Firebase.Messaging.FirebaseMessaging.TokenReceived -= OnTokenReceived;






            share|improve this answer



























              0














              It was my fault (as usual). Just forget to remove this code from my FCMHelper class.



              public void OnDestroy()

              Firebase.Messaging.FirebaseMessaging.MessageReceived -= OnMessageReceived;
              Firebase.Messaging.FirebaseMessaging.TokenReceived -= OnTokenReceived;






              share|improve this answer

























                0












                0








                0







                It was my fault (as usual). Just forget to remove this code from my FCMHelper class.



                public void OnDestroy()

                Firebase.Messaging.FirebaseMessaging.MessageReceived -= OnMessageReceived;
                Firebase.Messaging.FirebaseMessaging.TokenReceived -= OnTokenReceived;






                share|improve this answer













                It was my fault (as usual). Just forget to remove this code from my FCMHelper class.



                public void OnDestroy()

                Firebase.Messaging.FirebaseMessaging.MessageReceived -= OnMessageReceived;
                Firebase.Messaging.FirebaseMessaging.TokenReceived -= OnTokenReceived;







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 8 at 7:14









                widesteppewidesteppe

                6518




                6518





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057520%2fhow-can-i-prevent-auto-initialization-firebase-on-ios%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    1928 у кіно

                    Захаров Федір Захарович

                    Ель Греко