[TIMOB-26392] Android: On hyperloop module getting error module not found
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | None |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2018-12-11T22:24:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Hyperloop |
Labels | n/a |
Reporter | Fazlul Haque |
Assignee | Unknown |
Created | 2018-09-14T20:50:10.000+0000 |
Updated | 2018-12-11T22:24:36.000+0000 |
Description
Hello,
This customer getting module not found error.
They are adding attached aar files to the project under app/platform/android
This is to add crashlytics as a hyper loop Lib in the app.
The below code is not working
var Activity = require('android.app.Activity');
var currentActivity = new Activity(Ti.Android.currentActivity);
var app = currentActivity.getApplication();
var Fabric = require('io.fabric.sdk.android.Fabric');
var crashlytics = require("com.crashlytics.android.Crashlytics");
Fabric.with(currentActivity,new crashlytics());
it throws error that fabric is not found.
Here is the link for the documentation
https://fabric.io/kits/ios/crashlytics/features
Thanks
Attachments
File | Date | Size |
---|---|---|
5-attached-files-20180914204741.zip | 2018-09-14T20:46:55.000+0000 | 453817 |
No comments