/
iOS Geofence Modülü
iOS Geofence Modülü
Geofencing
Uygulamanızda konum hizmetlerini etkinleştirmek için öncelikle aşağıdaki anahtarları Info.plist dosyanıza eklemeniz gerekir.
NSLocationAlwaysAndWhenInUseUsageDescription
NSLocationWhenInUseUsageDescription
Bu izinlerin örnek uygulaması aşağıdaki gibidir:
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>We need access to your location for better user experience.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>We need access to your location for better user experience.</string>
Ayrıca bölgeleri izlemek, bölge listesini yenilemek ve push bildirimlerini almak için Info.plist dosyanızda UIBackgroundModes altına aşağıdaki anahtarları eklemeniz gerekir.
<array>
<string>fetch</string>
<string>location</string>
<string>remote-notification</string>
</array>
Ardından RelatedDigital.initialize metodundan hemen sonra aşağıdaki kodu eklemelisiniz.
RelatedDigital.geofenceEnabled = true
, multiple selections available,
Related content
Geofence Modülü
Geofence Modülü
More like this
Geofence Module
Geofence Module
More like this
Geofence
More like this
Geofencing Module
Geofencing Module
More like this
Geofences - Mobil Uygulama
Geofences - Mobil Uygulama
More like this
React Native - Geofence
React Native - Geofence
More like this
Copyright 2020 Related Digital