Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25618

App is unable to access Localytics method properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Sprint:
      2018 Sprint 01 SDK, 2018 Sprint 02 SDK, 2018 Sprint 03 SDK

      Description

      Description:

      Customer is having issues accessing Localytics method properly

      Code:

      We are using the Localytics SDK for Analytics and we are having issues accessing a specific method. Attached is the pod file that we are using.

      We are using the setOptions method to set the "max_monitoring_regions" option in our titanium app but it does not work. Below is the code snippet.

      Can you check if we are using the method in the right way with the right arguments?

      Code:

      var TiApp = require('Titanium/TiApp'); 
       
      var Localytics = require("Localytics/Localytics"); 
      console.log("launction options are " + Localytics + localyticsKey); 
      Localytics.autoIntegrateLaunchOptions(³APP_KEY", TiApp.app.launchOptions);
      Localytics.setLoggingEnabled(true); 
      var options = { "max_monitoring_regions" : 2 };
      Localytics.setOptions(options); 
      

      Podfile:

      install! 'cocoapods',
      :integrate_targets => false

      platform :ios, '7.0'

      target 'myWorkplace' do
      pod 'LocalyticsStaticFramework', '~> 4.2'
      end

      Request:

      Can you see any issues in their implementation or have any changes been made in hyperloop that they need to address in the implementation?

        Attachments

        1. beaconcrash.txt
          1001 kB
        2. com.abc.localytics-iphone-1.0.0.zip
          6.74 MB
        3. index.js
          48 kB
        4. iOSBeacon.js
          6 kB
        5. iOSBeaconCrashLog.txt
          7.17 MB
        6. localytics_module_error_log.txt
          982 kB
        7. Localytics.h
          51 kB
        8. LogOutput.txt
          670 kB
        9. WorkplaceSvc_Dev__2-5-18_12-44_PM.crash
          54 kB
        10. WorkplaceSvc_Dev.app.dSYM.zip
          6.36 MB
        11. WorkplaceSvc_Dev 2-13-18, 5-17 PM.crash
          61 kB
        12. WorkplaceSvc_Dev 2-21-18, 4-49 PM.crash
          82 kB

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                vvazquezmontero Victor Vazquez Montero
              • Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • It looks like Backbone Issue Sync is not enabled for your project.

                    Git Source Code