Details

    • Type: New Feature
    • Status: Closed
    • Priority: None
    • Resolution: Duplicate
    • Affects Version/s: Release 6.0.1
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None

      Description

      Issue Description

      getapplicationcontext() method is present in android native code to get application context.

      This is the code that needs to be executed in app.js

      var localytics = require('com.localytics.android.Localytics');
      localytics.autoIntegrate(application context);
      

      Customer is not able to get current application context. He tried lot of things.

      var context = require("android.context.Context");
      var appContext = context.getApplicationContext();
      

      This one throwing error stating could not find getapplicationContext method.

      https://developer.android.com/reference/android/content/Context.html#getApplicationContext()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                rramirez Ricardo Ramirez
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration