Skip to content
Snippets Groups Projects
Commit 2fb89af4 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Avoid print calls in production code

parent 69058df4
No related branches found
No related tags found
No related merge requests found
Pipeline #5236 passed
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
app.versionName=0.0.3 app.versionName=0.0.4
app.versionCode=3 app.versionCode=4
Avoid print calls in production code.
Supprime les appels à print dans le code de production.
import 'package:flutter/foundation.dart';
void printlog(String message) {
if (!kReleaseMode) {
debugPrint(message);
}
}
...@@ -3,7 +3,7 @@ description: Create and manage Spotify playlists ...@@ -3,7 +3,7 @@ description: Create and manage Spotify playlists
publish_to: 'none' publish_to: 'none'
version: 0.0.3+3 version: 0.0.4+4
environment: environment:
sdk: '^3.0.0' sdk: '^3.0.0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment