Is it necessary to add configuration to AndroidManifest.xml? #255
-
In Sentry's guide, we need to add configuration to AndroidManifest.xml for catching Android's errors, such as: <application
tools:replace="android:label"
android:name=".Application"
android:label="@string/title"
android:icon="@mipmap/app_icon">
<meta-data android:name="io.sentry.dsn" android:value="https://[email protected]/5563670" />
...
</application> Is this step necessary while using sentry_flutter? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
No. The Sentry Flutter SDK initializes the Android layer for you (passing down the options that you've written in Dart). So you don't need to configure it in the |
Beta Was this translation helpful? Give feedback.
-
How/When is this done? If any errors occur before the FlutterEngine is started, do they get reported? |
Beta Was this translation helpful? Give feedback.
-
@bruno-garcia I am currently still using the flutter_sentry plugin which allows me to catch things like this flutter/flutter#32756 - That would not be possible to find with the 4.x version. |
Beta Was this translation helpful? Give feedback.
No. The Sentry Flutter SDK initializes the Android layer for you (passing down the options that you've written in Dart). So you don't need to configure it in the
AndroidManifest.xml