Uploaded image for project: 'Appcelerator Modules'
  1. Appcelerator Modules
  2. MOD-2434

Android: need to implement Android Beacon monitoring on Localytics module

    Details

    • Type: New Feature
    • Status: In Review
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Android, Android Beacon monitoring, Localytics module, startMonitoring

      Description

      Hello,

      We have a feature request to update the Android module with beacon monitoring. They have tried the Android localytics module and added the localytics.xml file in the /app/platform/android/res/values directory.

      The library was initiated as shown below. It fails calling to find the method - startMonitoring

      //Initialization of library: 
      Alloy.Globals.localytics = require('com.localytics'); 
      Alloy.Globals.localytics.autoIntegrate(); 
       
      //Start beacon monitoring: 
      Alloy.Globals.localytics.startMonitoring(handleProximity); 

      Message: Uncaught TypeError: Alloy.Globals.localytics.startMonitoring is not a function.

      They would like to get the startMonitoring method on Android localytics module.

      Note: they are using the module from Here

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                fhaque Fazlul Haque (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Integration