flutter_web_auth icon indicating copy to clipboard operation
flutter_web_auth copied to clipboard

targetSdkVersion 31

Open leekim611 opened this issue 3 years ago • 1 comments

When performing certain tasks, this package was of great help.

But, it is not working when I run with the actual android device.

So, please update the code.

<activity android:name="com.linusu.flutter_web_auth.CallbackActivity"
  android:exported="true" >   // add this line
  <intent-filter android:label="flutter_web_auth">
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.BROWSABLE" />
    <data android:scheme="YOUR_CALLBACK_URL_SCHEME_HERE" />
  </intent-filter>
</activity>

leekim611 avatar Jan 31 '22 16:01 leekim611

I checked that this code was applied!!

But, It has not yet been applied in pub.dev.

Thank you.

leekim611 avatar Jan 31 '22 17:01 leekim611

android:exported="true"

This has been added now, will cut a release shortly 👍

LinusU avatar Nov 01 '22 10:11 LinusU