Compare commits

..

No commits in common. "2b526c3f1b49661dfc8fe19590c7966968f4237a" and "5da0468bd35bbaa7dab78d2f3da7743d3cbf0fce" have entirely different histories.

6 changed files with 17 additions and 54 deletions

View file

@ -19,7 +19,7 @@
"noCamerasDetected": "Scheinbar sind keine Kameras an das Gerät angeschlossen.",
"noCameraPermission": "Kamera-Erlaubnis nicht erteilt.",
"otherCameraError": "Beim Verbinden der Kamera ist ein Fehler aufgetreten.",
"none": "Keiner",
"none": "Keine",
"cancel": "Abbrechen",
"select": "Auswählen",
"save": "Speichern",
@ -82,7 +82,7 @@
"dynamicColor": "Dynamische Farbe",
"primaryColor": "Akzentfarbe",
"choosePrimaryColor": "Akzentfarbe auswählen",
"about": "Info",
"about": "Über",
"restorePurchases": "Käufe wiederherstellen",
"sourceCode": "Source code",
"reportIssue": "Problem melden",
@ -162,4 +162,4 @@
"name": "Name",
"addEquipmentProfileTitle": "Ausrüstung hinzufügen",
"editEquipmentProfileTitle": "Ausrüstung bearbeiten"
}
}

View file

@ -132,7 +132,7 @@ class _ProFeaturesOverlay extends StatelessWidget {
);
final bool hasSpotMetering = UserPreferencesProvider.cameraFeatureOf(
context,
CameraFeature.spotMetering,
CameraFeature.histogram,
);
return Stack(
alignment: Alignment.bottomCenter,

View file

@ -1,4 +0,0 @@
const String contactEmail = '';
const String iapServerUrl = '';
const String issuesReportUrl = 'https://github.com/vodemn/m3_lightmeter/issues/new/choose';
const String sourceCodeUrl = 'https://github.com/vodemn/m3_lightmeter/';

View file

@ -1,30 +0,0 @@
{
"flutter": {
"platforms": {
"android": {
"default": {
"projectId": "mockproject-1234",
"appId": "1:123456789000:android:f1bf012572b04063",
"fileOutput": "android/app/google-services.json"
}
},
"ios": {
"default": {
"projectId": "mockproject-1234",
"appId": "1:123456789000:ios:f1bf012572b04063",
"uploadDebugSymbols": true,
"fileOutput": "ios/Runner/GoogleService-Info.plist"
}
},
"dart": {
"lib/firebase_options.dart": {
"projectId": "mockproject-1234",
"configurations": {
"android": "1:123456789000:android:f1bf012572b04063",
"ios": "1:123456789000:ios:f1bf012572b04063"
}
}
}
}
}
}

View file

@ -1,7 +0,0 @@
// ignore_for_file: type=lint
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
class DefaultFirebaseOptions {
static FirebaseOptions get currentPlatform =>
FirebaseOptions(apiKey: '', appId: '', messagingSenderId: '', projectId: '');
}

View file

@ -1,12 +1,16 @@
cp "scripts/mocks/mock_constants.dart" "lib/constants.dart"
cp "scripts/mocks/mock_firebase_options.dart" "lib/firebase_options.dart"
cp "scripts/mocks/mock_firebase.json" "firebase.json"
constants="const String contactEmail = '';
const String iapServerUrl = '';
const String issuesReportUrl = 'https://github.com/vodemn/m3_lightmeter/issues/new/choose';
const String sourceCodeUrl = 'https://github.com/vodemn/m3_lightmeter/';"
curl -H 'Accept: application/vnd.github.v3.raw' \
-o "android/app/google-services.json" \
-L "https://api.github.com/repos/firebase/quickstart-android/contents/mock-google-services.json"
curl -H 'Accept: application/vnd.github.v3.raw' \
-o "ios/Runner/GoogleService-Info.plist" \
-L "https://api.github.com/repos/firebase/quickstart-ios/contents/mock-GoogleService-Info.plist"
firebase_options="// ignore_for_file: type=lint
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;
class DefaultFirebaseOptions {
static FirebaseOptions get currentPlatform =>
FirebaseOptions(apiKey: '', appId: '', messagingSenderId: '', projectId: '');
}"
echo "$constants" > "lib/constants.dart"
echo "$firebase_options" > "lib/firebase_options.dart"
sh .github/scripts/stub_iap.sh