Skip to content

java.lang.IllegalStateException: Intent filter for: BrowserTabActivity is missing. Please make sure you have the following activity in your AndroidManifest.xml #4

@bobosette

Description

@bobosette

Hi everybody. I'm trying to use msal_mobile, but when i launch the app in debug mode i've got this issue:

FATAL EXCEPTION: main E/AndroidRuntime(17653): Process: com.example.microsoft_handle, PID: 17653 E/AndroidRuntime(17653): java.lang.IllegalStateException: Intent filter for: BrowserTabActivity is missing. Please make sure you have the following activity in your AndroidManifest.xml E/AndroidRuntime(17653): E/AndroidRuntime(17653): <activity android:name="com.microsoft.identity.client.BrowserTabActivity"> E/AndroidRuntime(17653): <intent-filter> E/AndroidRuntime(17653): <action android:name="android.intent.action.VIEW" /> E/AndroidRuntime(17653): <category android:name="android.intent.category.DEFAULT" /> E/AndroidRuntime(17653): <category android:name="android.intent.category.BROWSABLE" /> E/AndroidRuntime(17653): <data E/AndroidRuntime(17653): android:host="com.example.XXXXXXXXXXXXXX" E/AndroidRuntime(17653): android:path="/5XXXXXXXXXXXXXXXXXXX" E/AndroidRuntime(17653): android:scheme="msauth" /> E/AndroidRuntime(17653): </intent-filter> E/AndroidRuntime(17653): </activity>

my android manifest:

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.microsoft_handle"> <!-- io.flutter.app.FlutterApplication is an android.app.Application that calls FlutterMain.startInitialization(this); in its onCreate method. In most cases you can leave this as-is, but you if you want to provide additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. --> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <application android:name="io.flutter.app.FlutterApplication" android:label="microsoft_handle" android:icon="@mipmap/ic_launcher"> <activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <activity android:name="com.microsoft.identity.client.BrowserTabActivity"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="com.example.XXXXXXXXX" android:path="/5XXXXXXXXXXXXXXXXXXX" android:scheme="msauth" /> </intent-filter> </activity> <!-- Don't delete the meta-data below. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> <meta-data android:name="flutterEmbedding" android:value="2" /> </application> </manifest>

I don't know where's the problem. Anybody can help me??
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions