React native - enable notification on locked screen The Next CEO of Stack OverflowGet screen dimensions in pixelserror “Could not get BatchedBridge, make sure your bundle is packaged properly” on start of appReact Native Push Notifications with react-native-fcmClone native android alarm screen with react-nativeHow can I wake up device when notifications arrived on Android with react-native-firebase?onNotificationOpened and getInitialNotification not getting triggered react-native-firebaseUnable to receive notification in foreground on Android 8 using react-native-firebaseReact Native Android - Pop a screen after push notification while the phone is lockedDetecting Locked State in React NativeProblems When Push Notification Sending to Another Device With react-native-firebase

What steps are necessary to read a Modern SSD in Medieval Europe?

Find the majority element, which appears more than half the time

Why did early computer designers eschew integers?

Why can't we say "I have been having a dog"?

How can I separate the number from the unit in argument?

Strange use of "whether ... than ..." in official text

How to find if SQL server backup is encrypted with TDE without restoring the backup

Free fall ellipse or parabola?

Read/write a pipe-delimited file line by line with some simple text manipulation

Is a linearly independent set whose span is dense a Schauder basis?

pgfplots: How to draw a tangent graph below two others?

Is it okay to majorly distort historical facts while writing a fiction story?

Is a distribution that is normal, but highly skewed, considered Gaussian?

Is it a bad idea to plug the other end of ESD strap to wall ground?

Upgrading From a 9 Speed Sora Derailleur?

Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact

Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?

Can Sri Krishna be called 'a person'?

The sum of any ten consecutive numbers from a fibonacci sequence is divisible by 11

Is it correct to say moon starry nights?

What are the unusually-enlarged wing sections on this P-38 Lightning?

How to show a landlord what we have in savings?

Car headlights in a world without electricity

How do I secure a TV wall mount?



React native - enable notification on locked screen



The Next CEO of Stack OverflowGet screen dimensions in pixelserror “Could not get BatchedBridge, make sure your bundle is packaged properly” on start of appReact Native Push Notifications with react-native-fcmClone native android alarm screen with react-nativeHow can I wake up device when notifications arrived on Android with react-native-firebase?onNotificationOpened and getInitialNotification not getting triggered react-native-firebaseUnable to receive notification in foreground on Android 8 using react-native-firebaseReact Native Android - Pop a screen after push notification while the phone is lockedDetecting Locked State in React NativeProblems When Push Notification Sending to Another Device With react-native-firebase










0















I need to display notification on top of phone even when screen is locked, in react-native for android. I am using package "react-native-firebase".



below is the code that I tried:



const channel = new firebase.notifications.Android.Channel(
'goofy',
'goofy the goofy',
firebase.notifications.Android.Importance.Max
)
.setDescription('ideally should work')
.enableLights(true)
.enableVibration(true)
.setLockScreenVisibility(firebase.notifications.Android.Visibility.Public);


Still I am getting below configuration in settings:



enter image description here



Am I missing something? Ideally these buttons should be enabled.










share|improve this question




























    0















    I need to display notification on top of phone even when screen is locked, in react-native for android. I am using package "react-native-firebase".



    below is the code that I tried:



    const channel = new firebase.notifications.Android.Channel(
    'goofy',
    'goofy the goofy',
    firebase.notifications.Android.Importance.Max
    )
    .setDescription('ideally should work')
    .enableLights(true)
    .enableVibration(true)
    .setLockScreenVisibility(firebase.notifications.Android.Visibility.Public);


    Still I am getting below configuration in settings:



    enter image description here



    Am I missing something? Ideally these buttons should be enabled.










    share|improve this question


























      0












      0








      0








      I need to display notification on top of phone even when screen is locked, in react-native for android. I am using package "react-native-firebase".



      below is the code that I tried:



      const channel = new firebase.notifications.Android.Channel(
      'goofy',
      'goofy the goofy',
      firebase.notifications.Android.Importance.Max
      )
      .setDescription('ideally should work')
      .enableLights(true)
      .enableVibration(true)
      .setLockScreenVisibility(firebase.notifications.Android.Visibility.Public);


      Still I am getting below configuration in settings:



      enter image description here



      Am I missing something? Ideally these buttons should be enabled.










      share|improve this question
















      I need to display notification on top of phone even when screen is locked, in react-native for android. I am using package "react-native-firebase".



      below is the code that I tried:



      const channel = new firebase.notifications.Android.Channel(
      'goofy',
      'goofy the goofy',
      firebase.notifications.Android.Importance.Max
      )
      .setDescription('ideally should work')
      .enableLights(true)
      .enableVibration(true)
      .setLockScreenVisibility(firebase.notifications.Android.Visibility.Public);


      Still I am getting below configuration in settings:



      enter image description here



      Am I missing something? Ideally these buttons should be enabled.







      android react-native react-native-firebase






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 9 at 0:22







      ManMohan Vyas

















      asked Mar 8 at 19:14









      ManMohan VyasManMohan Vyas

      3,04322135




      3,04322135






















          0






          active

          oldest

          votes












          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%2f55069594%2freact-native-enable-notification-on-locked-screen%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f55069594%2freact-native-enable-notification-on-locked-screen%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

          How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

          Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

          List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229