feat: фул интеграция FCM с андроидом нах

This commit is contained in:
Jganenokk
2026-07-02 23:32:31 +07:00
parent bcef107c25
commit a904b733d2
20 changed files with 1941 additions and 90 deletions
+5 -1
View File
@@ -49,6 +49,8 @@ class Api {
int? get callsSeed => _callsSeed;
String? get deviceId => _deviceId;
String? spoofScope;
List<CountryName>? _registrationCountries;
List<CountryName> get registrationCountries =>
@@ -224,7 +226,9 @@ class Api {
);
}
final spoofed = await SpoofingService.getSpoofedSessionData();
final spoofed = await SpoofingService.getSpoofedSessionData(
scope: spoofScope,
);
if (spoofed != null) {
final sDeviceType = spoofed['device_type'] as String?;
if (sDeviceType != null && sDeviceType != 'IOS') deviceType = sDeviceType;