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

Hyperloop: Implement instabug sdk in appcelerator app for android and IOS

    Details

    • Type: Bug
    • Status: In Review
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The customer is trying to implement instabug sdk in appcelerator app for android and IOS both. They are using real device and Xcode version 10.2.1.

      iOS:

      They followed all the steps from here . Inclusion of pod file didn't work correctly. They have manually downloaded the framework and placed it under the platform/ios directory and that trick worked.

      var instabug = require("Instabug/Instabug"); 
      

      This statement also works as statement provided below also works.

       
      instabug.startWithTokenInvocationEvents("f7f4797d8e2a5893f2d4cf992883867a");
      

      Only thing they are not able to do is they are suppose to pass IBGInvocationEventShake.

      [Instabug startWithToken:@"YOUR-TOKEN-HERE" invocationEvents: IBGInvocationEventShake | IBGInvocationEventScreenshot];

      Note:

      We suggested them to use:
      const Instabug = require('Instabug/Instabug');
      Instabug.startWithTokenInvocationEvents('YOUR_TOKEN', Instabug.IBGInvocationEventShake | Instabug.IBGInvocationEventScreenshot)
       
      It doesn't work for them. It initializes but still not initializing on vibrating mode that means to them parameters are not passed.
      

      Android:

      While adding instabug on android, getting details about android sdk integration based in below url. They are using SDK - 8.0.2 hyperloop - 4.0.2 android API 26. They are facing below issues:
      1. build.gradle is not working as mentioned in https://wiki.appcelerator.org/display/guides2/Android+Hyperloop+Programming+Guide.
      2. Downloaded all the jars mentioned in gradle manually. Then getting below error. Attaching all the jars that they have included just for references.
      3. When they researched this is related to android snackbar but since they are not able to use gradle they can't add gradle script for snackbar as well.

      [INFO] : Generating i18n files 
      [DEBUG] : Writing en strings => /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/strings.xml 
      [WARN] : Overwriting XML node close in file /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/values.xml 
      [INFO] : Generating /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/theme.xml 
      [INFO] : Running AAPT: /Users/v412636/Library/Android/sdk/build-tools/28.0.3/aapt "package" "-f" "-m" "-J" "/Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/gen" "-M" "/Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/AndroidManifest.xml" "-A" "/Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/bin/assets" "-S" "/Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res" "-I" "/Users/v412636/Library/Android/sdk/platforms/android-28/android.jar" "-F" "/Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/bin/app.ap_" "--ignore-assets" "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" "--output-text-symbols" "/Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/intermediates/bundles" "--no-version-vectors" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.coreui:android.support.coreutils:android.support.exifinterface:android.support.fragment:android.support.graphics.drawable.animated:android.support.graphics.drawable:android.support.mediacompat:android.support.transition:android.support.v4:android.support.v7.appcompat:android.support.v7.recyclerview:android.support.compat:android.support.design:android.support.v7.cardview"
      [ERROR] Application Installer abnormal process termination. Process exit value was 1 
      [ERROR] : Failed to package application: 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values-no/values-no.xml:96: warning: string 'ib_str_report_data' marked untranslatable but exists in locale 'no' 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values-no/values-no.xml:129: warning: string 'instabug_str_empty' marked untranslatable but exists in locale 'no' 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values-no/values-no.xml:142: warning: string 'instabug_str_next' marked untranslatable but exists in locale 'no' 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values-no/values-no.xml:147: warning: string 'instabug_str_plus' marked untranslatable but exists in locale 'no' 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values-no/values-no.xml:153: warning: string 'instabug_str_send' marked untranslatable but exists in locale 'no' 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/values.xml:1576: error: Error: No resource found that matches the given name: attr 'borderWidth'. 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/values.xml:1572: error: Error: No resource found that matches the given name: attr 'fabSize'. 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/values.xml:1574: error: Error: No resource found that matches the given name: attr 'pressedTranslationZ'. 
      [ERROR] : 
      [ERROR] : /Users/v412636/Documents/Main Folder/Appc-Bitbucket/Label_Audit/build/android/res/values/values.xml:1575: error: Error: No resource found that matches the given name: attr 'rippleColor'. 
      
      

        Attachments

          Activity

            People

            • Assignee:
              ybanev Yordan Banev
              Reporter:
              rmitro Rakhi Mitro
              Reviewer:
              Jan Vennemann
            • Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code