feat: add device authentication, place gates support, and PiP navigation features
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user