You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Navigate to Beaconstac.framework/Resources folder in Finder and drop the Beaconstac.bundle into Project navigator area. Make sure that "Copy Items to Destination's Group Folder" checked.
3. Add the `Beaconstac.framework` to the embedded binaries section of your destination app target.
35
36
36
-
4. In Build Phases under Target, add the following frameworks in “Link Binary With Libraries†section:
37
+
4. In Build Phases under destination app target, add the following frameworks in Link Binary With Libraries section:
37
38
- CoreData.framework
38
39
- SystemConfiguration.framework
39
40
- CoreBluetooth.framework
40
41
- CoreLocation.framework
41
42
42
43
## Configure your project
43
44
44
-
1. In Info.plist, add a new fields, `NSLocationAlwaysUsageDescription`, `NSLocationAlwaysAndWhenInUsageDescription` with relevant values that you want to show to the user. This is mandatory for iOS 10 and above.
45
+
1. In Info.plist, add a new fields, `NSLocationAlwaysUsageDescription`, `NSLocationAlwaysAndWhenInUsageDescription`, `NSBluetoothPeripheralUsageDescription` with relevant values that you want to show to the user. This is mandatory for iOS 10 and above.
The app should provide the developer token while initializing the SDK. Get it from [Beaconstac Dashboard Account Page](https://dashboard.beaconstac.com/#/account).
60
61
62
+
## Beaconstac Sample App
63
+
64
+
To run our Beaconstac Sample App make the following changes to the build settings.
65
+
1. Search for `Framework Search Paths`
66
+
2. Change the value to the abosulte path of the `Beaconstac.framework`.
| WhenInUse | When In Use Authorization | CoreLocation API doesn't support | CoreLocation API supports | App should be in the foreground |
85
98
| BackgroundRangeOnDisplayWakeUp | Always Authorization | CoreLocation API supports | CoreLocation API supports | App can be in the background but doesn't range |
12. You are required to `add filters` regarding the app user, if the marketer has provided the filters. To do so
240
254
241
255
```swift
242
-
// Provide the filters to the SDK as Key-Value pairs using dictionary. Note keys are keys insensitive.
256
+
// Provide the filters to the SDK as Key-Value pairs using dictionary. Note keys are case insensitive.
243
257
funcaddFilters(_filters: Dictionary<String, Any>)
244
258
```
245
259
__Note__: If the rule contains the filters and app doesn't provide it, the rule will be treated as a filter validation failed and we won't trigger that particular rule.
0 commit comments