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;
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
add a comment |
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
add a comment |
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
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
ios firebase unity3d push-notification firebase-cloud-messaging
asked Mar 8 at 5:58
widesteppewidesteppe
6518
6518
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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;
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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;
add a comment |
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;
add a comment |
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;
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;
answered Mar 8 at 7:14
widesteppewidesteppe
6518
6518
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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