🥞Checar Localização Falsa no App
Como podemos detectar se a localização do dispositivo era real ou estava sendo manipulada de alguma forma?
Biblioteca utilizada
Configuração necessária
<key>NSLocationAlwaysUsageDescription</key>
<string>App needs access to location when in the background.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>App requires access to location when open.</string>post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
# Start of the permission_handler configuration
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
# dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
'PERMISSION_LOCATION=1'
]
end
end
endRodar
Testar
Exemplos de softwares (normalmente pagos)
Existe também a opção de se utilizar jailbreaks:
Exemplos de ferramentas**:**
Essas ferramentas permitem:
Last updated