Giter Site home page Giter Site logo

Comments (2)

hendych avatar hendych commented on August 17, 2024 1

Hi @hendych,

Are you making this method call to request for Geofences? When you make that request, it asks the server if there are any geofences on the server for that particular location, but it won't update the user profile to say that they are at that particular location. If you want to store a particular location for a user, you can use logSingleLocation.

It is currently a known limitation that the Geofences feature is only supported with Always authorization enabled for the ObjC SDK (however, on the Swift SDK, Geofences are supported under both WhenInUse and Always). Once the Geofences setup is completed and the device is synced with the latest Geofence objects, if the end user's device enters a geofence, the Braze SDK will be able to respond accordingly (via triggering an in-app message, sending that info to the backend, etc).

For more information, feel free to look at our example app which contains examples of how to successfully integrate our Geofences feature. To help with debugging your integration, please contact [email protected] for more streamlined support, and we will be able to help you further by asking for specific integration code, verbose logging to see what is happening in your app, etc.

Thanks!

Hi @hokstuff thank you for your detailed response! So it won't log any location, omg I looked for days why it didn't log my location lol.
So from your response the best way to use the geofence is to use swift SDK so it supports both whenInUse or Always auth.

from appboy-ios-sdk.

hokstuff avatar hokstuff commented on August 17, 2024

Hi @hendych,

Are you making this method call to request for Geofences? When you make that request, it asks the server if there are any geofences on the server for that particular location, but it won't update the user profile to say that they are at that particular location. If you want to store a particular location for a user, you can use logSingleLocation.

It is currently a known limitation that the Geofences feature is only supported with Always authorization enabled for the ObjC SDK (however, on the Swift SDK, Geofences are supported under both WhenInUse and Always). Once the Geofences setup is completed and the device is synced with the latest Geofence objects, if the end user's device enters a geofence, the Braze SDK will be able to respond accordingly (via triggering an in-app message, sending that info to the backend, etc).

For more information, feel free to look at our example app which contains examples of how to successfully integrate our Geofences feature. To help with debugging your integration, please contact [email protected] for more streamlined support, and we will be able to help you further by asking for specific integration code, verbose logging to see what is happening in your app, etc.

Thanks!

from appboy-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.