You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
To use Thali in a Cordova project one must do the following:
68
68
69
-
5. Make sure to add whatever platforms you are using in Cordova using `cordova platform add` (android | ios)
70
-
1. Add a subfolder to www named jxcore (case sensitivity matters)
71
-
2. Inside the jxcore folder create the app.js for your application
72
-
3. Inside the jxcore folder create the package.json for your application
69
+
1. Make sure to add whatever platforms you are using in Cordova using `cordova platform add` (android | ios)
70
+
2. Add a subfolder to www named jxcore (case sensitivity matters)
71
+
3. Inside the jxcore folder create the app.js for your application
72
+
4. Inside the jxcore folder create the package.json for your application
73
73
*`jx npm init` provides an easy to use wizard that will create a basic package.json file
74
-
4. Inside the jxcore folder run the command `jx install thali --autoremove "*.gz" --save`
75
-
5. Make sure to run `cordova build` as this is critical to moving key files into place
76
-
* Yes, an exception did get thrown during the build. No, it isn't harmful. No, we haven't quite figured out
77
-
why it gets thrown, the verbose debug logs aren't saying anything useful.
74
+
5. Inside the jxcore folder run the command `jx install thali --autoremove "*.gz" --save`
75
+
6. Make sure to run `cordova build` as this is critical to moving key files into place
78
76
79
-
Now you can run your app.
77
+
Now you can run your app. The Android devices need to have OS version Lollipop or later for things to work properly
78
+
(Thali uses class `BluetoothLeAdvertiser`, which was added in API level 21).
80
79
81
80
Note that Thali uses a subdirectory in your project called thaliDontCheckin to manage certain downloads. Per the name of the directory, please don't check it in to your repro.
0 commit comments