0
OxygenOS BOOT_COMPLETED not received

  1. SwederSchellens
    Cupcake Jan 18, 2018

    SwederSchellens , Jan 18, 2018 :
    Hi,

    Since the Nougat/Oreo update, my app no longer receives the BOOT_COMPLETED intent. My small proof of concept app does receive BOOT_COMPLETED. I found that if I turn off battery optimization, both my apps will receive the BOOT_COMPLETED intent. My question is two-fold:
    1. What would be the root cause of my app not receiving the BOOT_COMPLETED intent if battery optimization is on?
    2. What should I do to receive BOOT_COMPLETED and still have battery optimization switched on?
    I hope you can shed some light on this, as some others seem to suffer from similar issues as can be seen here: https://stackoverflow.com/questions...er-not-working-after-device-reboot-in-android

    Kind regards,

    Sweder
     
    Last edited: Jan 18, 2018

    #1
  2. Jude_Osbert
    Cupcake Sep 2, 2019

    Jude_Osbert , Sep 2, 2019 :
    @SwederSchellens I am also facing the same issue. Like you have mentioned I tried it by turning off battery optimisation and it started working. Have you found any work around for it?
     

    #2
  3. simonpunk2016
    Cupcake Oct 9, 2019


    #3