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

Hyperloop: Error during runtime using firebase

    Details

    • Type: Story
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android, Hyperloop
    • Labels:

      Description

      Description

      Customer is trying to use Firebase. They have used third party module ti.firebase and they have tried to do it natively with hyperloop and they have also tried creating their own module for it.

      error:

      [WARN]  W/System.err: ... 31 more
       
      [WARN]  W/System.err: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
       
      [ERROR] TiExceptionHandler: (main) [33,97] ----- Titanium Javascript Runtime Error -----
       
      [ERROR] TiExceptionHandler: (main) [1,98] - In /app.js:5,14
       
      [ERROR] TiExceptionHandler: (main) [0,98] - Message: Uncaught Failed resolution of: Lcom/google/android/gms/R$string;
       
      [ERROR] TiExceptionHandler: (main) [0,98] - Source:     firebase.initFirebaseApp();
       
      [ERROR] V8Exception: Exception occurred at /app.js:5: Uncaught Failed resolution of: Lcom/google/android/gms/R$string;
       
      [ERROR] V8Exception: Failed resolution of: Lcom/google/android/gms/R$string;

      3rd party ti.firebase module:

      Firebase module

      Native Hyperloop firebase:

      firebaseHyperloopWithPersonalJavaImplJar

      App Sample using self-created module

      Self made firebase module

      additional information

      I've attached the error log that is generated when you try to use the third party firebase module.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vvazquezmontero Victor Vazquez Montero
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

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

                    Git Source Code