java.lang.RuntimeException: Unable to get provider #2427
-
I have spent ages trying to work out why this error was occurring and crashing my app on load. Might seem obvious to someone that the provider name was wrong, however I copied all the installation instructions from the website so they shouldn't have been wrong. However i eventually worked out that the actually name of the provider is android:name="com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFileProvider" (note the _android) Is there any reason why this is different for me, did i do something to cause this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you are upgrading from version 5, have you checked the migration guide from version 5? |
Beta Was this translation helpful? Give feedback.
If you are upgrading from version 5, have you checked the migration guide from version 5?
The package name change is one of the first things written there: https://inappwebview.dev/docs/migration-guide
Also, the Android config docs of version 6 is already correct: https://inappwebview.dev/docs/intro#configure-android