pod install
(1) Locate your Factual Engine API Key from the Factual Engine Dashboard
(2) Add your Factual Location Engine API Key to Configuration.m.
(3) Locate your Braze SDK API Key for your app from the Braze Dashboard in Developer Console under the APP SETTINGS tab. Go to Identification and use the API Key listed for your app.
(4) Add your Braze API Key to Info.plist
(5) Determine your Braze Endpoint and add it to Configuration.m.
(6) Enter a new User ID in Configuration.m at brazeUser and a test user email in Configuration.m at brazeUserEmail.
(7) -(optional)- Enable push notifications for this app. To do so, you must enable push notifications and configure your Apple Developer Account to allow push notifications.
From here, you can setup Braze to trigger actions based on Engine custom events. See here for an example of sending a push notification when a user is near a coffee shop.
If you'd like to test the integration, an example test is given. To run the test, fill out your information in StubConfiguration.m, change the testLatitude and testLongitude variables to coordinates of a place which would trigger your Engine Circumstance, and add your Braze Endpoint to the test's Info.plist
