Launch android application from a browser link

后端 未结 1 1963
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 05:40

I have a problem trying to launch my application from the browser using my own scheme.
Code is as follow:
Manifest file:

   

        
1条回答
  •  长情又很酷
    2020-11-29 06:07

    It took me 6 hours to figure out the problem. Somehow setting the exported to false caused all the problem: android:exported="false". When I set it to true, it worked like a charm.

    Funny because I put it there in the first place to avoid the Exported activity does not require permission warning. Setting it back to true, brought back the warning, but it is working now.

    Solution is below. Hope it will help others save time.

    
          
              
              
              
              
          
      
    

    0 讨论(0)
提交回复
热议问题