Can't have Delegate to filter beacons according to namespace definition

novalab.itce's Avatar

novalab.itce

25 Nov, 2015 03:58 PM

Hi François,

I'm running the latest UbuduSDKDemo (v1.9.10) with my own namespace but I have some strange results:
- The Delegate areaEntered / areaExited methods are matching from FAR proximity. But my interactions are defined as IMMEDIATE ! - A beacon that is not registered as an interaction in my namespace is also matching !

I have checked my Ubudu Manager configuration, but I don't see anything wrong.
May be you have some suggestions to investigate this problem ? Thanks

Christophe.

  1. Support Staff 1 Posted by francois on 25 Nov, 2015 04:06 PM

    francois's Avatar

    Michal,

    Could you double check if we have a big regression here ?

    Christophe, we will be back to you very soon, what is the version you are updating your project with ?

    Best regards,

    François

  2. 2 Posted by michal.gasztold on 25 Nov, 2015 04:37 PM

    michal.gasztold's Avatar

    Hello Christophe,

    In fact *areaEntered*/*areaExited* delegate methods are called whenever the
    SDK detects any beacon that matches a given *PROXIMITY_UUID*
    (e.g. our default one is *F2A74FC4-7625-44DB-9B08-CB7E130B2029*).

    It is not related to any interactions you defined in the BO. These methods
    are called when the beaconis detected so actually it will happen far away
    from beacon ( > FAR).

    The events matching the interactions you defined in BO are coming to the
    delegate's methods:
    - *ruleFiredForEvent* (always)
    and
    - *notifyUserForEvent* (if you have set
    *mBeaconManager.setEnableAutomaticUserNotificationSending(false);*).

    I hope this helps. Please contact me if you experience any other problems.

    Best Regards
    Michal Gasztold
    Ubudu

  3. 3 Posted by novalab.itce on 25 Nov, 2015 05:37 PM

    novalab.itce's Avatar

    Hi Michal,

    So nothing wrong with the areaEntered / areaExited, thanks.
    I didn't succeed with the ruleFiredForEvent in my first test, I will focus on my BO rules.

    @François, this not an upgrade of our project. I'm starting with SDK development to build a sample for a Hackathon that we organize this weekend.

    Christophe.

  4. 4 Posted by Tomasz Ziolkows... on 25 Nov, 2015 09:54 PM

    Tomasz Ziolkowski's Avatar

    Hi Christope,

    I’m just readding Francois and Michał to thread…. and also I have some hints / questions to you.

    Maybe could you share with us your rule from the BO? (screenshots should be enough)

    Other things to check:

    1) On your beacon check:
    - proximity UUID (normal / secure)
    - major
    - minor
    - schedule of the beacon

    Have you updated your beacon via „apply cloud settings” via iOS manager app?

    2) In the BO check
    - schedule of the rule
    - namespace of the app and it’s proximity UUID (it should be the same as one on the beacon)
    - global limits (maybe you have already reached the limit?)
    - group limits (if any…)
    - rule limits (maybe you have already reached the limit?)
    - What is your action for the rule? Are you using web page url / deep link / user notification / server notification ?

    BR,
    Tom

  5. 5 Posted by novalab.itce on 07 Dec, 2015 10:31 AM

    novalab.itce's Avatar

    Hi,

    The problem was the schedule of the rule, I think I have missed the inner "Save" before committing the rule.

    Thank you for helping out.
    Christophe

  6. novalab.itce closed this discussion on 07 Dec, 2015 10:32 AM.

  7. Tomasz Ziolkowski re-opened this discussion on 07 Dec, 2015 10:44 AM

  8. 6 Posted by Tomasz Ziolkows... on 07 Dec, 2015 10:44 AM

    Tomasz Ziolkowski's Avatar

    Hi,
    Good to hear that it is solved now :)

    BR,
    Tom

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac