Android-Proximity-SDK icon indicating copy to clipboard operation
Android-Proximity-SDK copied to clipboard

Proximity Notification Trigger Not Working

Open zack-hable opened this issue 7 years ago • 7 comments

Prerequisites

  • [X] Put an X between the brackets on this line if you have done all of the following:
    • My beacons have Estimote Monitoring enabled (Check it in the Estimote Cloud, or via app)
    • My Android device/devices supports BLE and has Android OS version >= 5.0.0
    • My Android device/devices have bluetooth enabled
    • My app has Location Permissions granted

Basic information

Estimote SDK version: 0.5.0

Android devices affected: Samsung Galaxy S8

Android OS version affected: Oreo 8.0.0

Beacon hardware version: G1.12

Description

Using the example app on SDK version 0.5.0 and trying to use the Proximity trigger results in no notification being shown

(Optional) Steps to reproduce:

  1. Leave all beacons facing down (off)
  2. Start example app
  3. Enable trigger in example app
  4. Close example app (still visible/running in taskbar)
  5. Flip over/turn on beacons
  6. No notification is shown (waited a couple minutes)
  7. Open app from task menu and see beacons detected

Expected behavior: A notification to be shown

Actual behavior: No notification shown

Additional information

log.txt

zack-hable avatar Jun 18 '18 21:06 zack-hable

Please provide update on this issue.

RasoolMohamed27 avatar Aug 08 '18 07:08 RasoolMohamed27

Our App is on Playstore. Please fix this issue.

RasoolMohamed27 avatar Sep 09 '18 11:09 RasoolMohamed27

Hello,

Proximity Trigger is still a beta feature, I'm sorry if it was not properly announced. You can always write your own scanning service implementation using this:

    fun triggerPendingIntentWhenInProximity(pendingIntent: PendingIntent)

Remember to implement your own PendingIntent - you can start the ProximityObserver in a custom BroadcastReceiver for example.

We're working on improving this feature, and we've added more improvements to our backlog :)

pawelDylag avatar Sep 10 '18 12:09 pawelDylag

Hi,

Thank you for your reply. Implemented and testing as you advised and will update to you soon.

App is crashing all the time after updated to new version '1.0.3'. Please find the error screenshots below and please do the needful.

Screenshot : 1

image

Screenshot : 2

image

RasoolMohamed27 avatar Sep 11 '18 14:09 RasoolMohamed27

What I ended up doing was integrating the AltBeacon Library into my app and that seems to support pretty much every android OS. You can find my implementation with Estimote Libs and AltBeacon here: https://github.com/zack-hable/estimote-cordova/tree/master/src/android

zack-hable avatar Sep 11 '18 18:09 zack-hable

Hi zack-hable, I can see old version of Proximity SDK used in your link. Also I need help in Background Trigger not in Foreground. Please let me know if you have any update on Background Proximity Trigger using latest version of Proximity SDK.

Hi pawelDylag, Any update on above attached crashes in '1.0.3'. Its happening all the time when opening the app and unable to test it due to that. Please reply.

RasoolMohamed27 avatar Sep 15 '18 12:09 RasoolMohamed27

Hi pawelDylag, Please provide update on above issue.

rasoolmohamed avatar Dec 19 '18 04:12 rasoolmohamed