PendingIntent with implicit intent returning cancelled exception when using OpenId AppAuth-Android library

后端 未结 1 1802
心在旅途
心在旅途 2021-01-20 07:40

I am trying to implement oauth2 to enable users to login with Reddit. I have created my app on reddit with the appropriate redirect uri.

What I did:

相关标签:
1条回答
  • 2021-01-20 07:44

    In case anybody else stumbles upon this issue.

    Use the example app within app-auth android github project. Don't use Google CodeLabs app-auth example! The code from the question above is from Google CodeLabs, it is very old and no longer works (state at July 2020). I did the same mistake, app-auth links codelabs on their own page/readme, so I started using codelabs code and ended up with lots of problems and errors.

    The new app-auth version 0.7.x uses a json configuration file and the example app shows how to handle errors around pending intents etc. .

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