This is the sample code of the LIFF App for LINE Things Starter. The code contains a LIFF application that will work with the Starter firmwares.
Ensure you have already created a Developer Trial account and generated a service UUID.
To configure the app, change the USER_SERVICE_UUID
in liff.js
to your generated service UUID.
The LIFF application included in this repository can also be hosted by using GitHub Pages. To host your LIFF app, perform the following:
- Fork this repository on GitHub
- From GitHub Pages settings, select the "master branch" as the "Source"
- Set the URL of the published GitHub Pages page following with
liff-app/
as the LIFF endpoint URL. (For Example: https://line.github.io/line-things-starter/liff-app/)
For details on Bluetooth LE plugin API for LINE Things on LIFF, please refer to the following document (English to follow shortly):