feat: add device authentication, place gates support, and PiP navigation features

This commit is contained in:
Hamza-Ayed
2026-09-19 12:34:26 +03:00
parent 279c9fa510
commit a8470eb76c
15 changed files with 652 additions and 37 deletions
+5 -8
View File
@@ -4,14 +4,11 @@ import 'package:siro_maps/core/env/env.dart';
void main() {
group('Env & Obfuscated Secrets Verification', () {
test('MapSaaS API key is decrypted correctly from obfuscated bytecode', () {
expect(Env.mapSaasApiKey, equals('in_9478b32836d19cff73db3063'));
expect(ApiConstants.mapSaasKey, equals('in_9478b32836d19cff73db3063'));
});
test('Google Map API key is decrypted correctly from obfuscated bytecode', () {
expect(Env.googleMapApiKey, equals('AIzaSyAPFR_XbRN0XZ5Iz3AYDjNYHGJG2s2QWwM'));
expect(ApiConstants.googleMapApiKey, equals('AIzaSyAPFR_XbRN0XZ5Iz3AYDjNYHGJG2s2QWwM'));
test('MapSaaS and Google API keys in Env default to empty (dynamic provisioning via Device Fingerprint)', () {
expect(Env.mapSaasApiKey, isEmpty);
expect(ApiConstants.mapSaasKey, isEmpty);
expect(Env.googleMapApiKey, isEmpty);
expect(ApiConstants.googleMapApiKey, isEmpty);
});
});
}