Bump version
This commit is contained in:
parent
00ba8a5b49
commit
71e761664c
4 changed files with 4 additions and 10 deletions
|
|
@ -5,7 +5,7 @@ const clientId = String.fromEnvironment('CLIENT_ID');
|
|||
const secret = String.fromEnvironment('SECRET');
|
||||
|
||||
/// The current version of the app.
|
||||
const appVersion = '1.0.0-beta+5';
|
||||
const appVersion = '1.0.0-beta+6';
|
||||
|
||||
/// The tracesSampleRate for sentry crash reporting.
|
||||
const sampleRate = 1.0;
|
||||
|
|
|
|||
|
|
@ -35,11 +35,7 @@ Future<void> main() async {
|
|||
autorun((_) => preferences.setString('settings', jsonEncode(settingsStore)));
|
||||
|
||||
if (settingsStore.sendCrashLogs) {
|
||||
await SentryFlutter.init(
|
||||
(options) {
|
||||
options.tracesSampleRate = sampleRate;
|
||||
},
|
||||
);
|
||||
await SentryFlutter.init((options) => options.tracesSampleRate = sampleRate);
|
||||
}
|
||||
|
||||
runApp(
|
||||
|
|
|
|||
|
|
@ -35,9 +35,7 @@ class OtherSettings extends StatelessWidget {
|
|||
value: settingsStore.sendCrashLogs,
|
||||
onChanged: (newValue) {
|
||||
if (newValue == true) {
|
||||
SentryFlutter.init((options) {
|
||||
options.tracesSampleRate = sampleRate;
|
||||
});
|
||||
SentryFlutter.init((options) => options.tracesSampleRate = sampleRate);
|
||||
} else {
|
||||
Sentry.close();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.0.0-beta+5
|
||||
version: 1.0.0-beta+6
|
||||
|
||||
environment:
|
||||
sdk: ">=2.15.0 <3.0.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue