Beacons
Area | Value |
---|---|
NuGet | |
Service | Shiny.Beacons.IBeaconMonitoringManager |
Auto-Register | NO |
Delegate | Shiny.Beacons.IBeaconMonitorDelegate |
Startup File
using Microsoft.Extensions.DependencyInjection;
using Shiny;
namespace YourNamespace
{
public class YourShinyStartup : ShinyStartup
{
public override void ConfigureServices(IServiceCollection services, IPlatform platform)
{
services.UseBeaconMonitoring<MyBeaconDelegate>();
}
}
}
Platform Setup
Minimum Version: 12
Info.plist
<!DOCTYPE plist PUBLIC " -//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version=\"1.0\">
<dict>
<key>NSLocationAlwaysUsageDescription</key>
<string>Say something useful here that your users will understand</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Say something useful here that your users will understand</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Say something useful here that your users will understand</string>
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
</dict>
</plist>