zepp-health / zeppos-samples

A collection of samples about Zepp OS watchfaces and applications
Apache License 2.0
150 stars 53 forks source link

Does l66 supports micro apps? #30

Closed emircanerkul closed 1 year ago

emircanerkul commented 1 year ago

When I try to install the microapp, it gives me the error "Bluetooth channel not available. Please try again later." Does this mean that Mi Band 7 supports microapps? It should when i checked the https://prog.world/we-write-an-application-on-mi-band-7-with-a-service-part/ article

bridge$ connect
bridge$ info  successfully connected to app-Android.
bridge$ install
info   building...
[ROLLUP] Transform [device] 2 JS files in 111ms
[PNG2TGA] Converting PNG files...
[PNG2TGA] 1 files, 31ms, done!
[QJSC] Compiling JS files...
[QJSC] 2 files, 349ms, done!
info  getting package...
bridge$ info  Start install lite app
info  Install lite app result: bluetooth channel is not available. Please try again later
{
  "configVersion": "v2",
  "app": {
    "appId": 27280,
    "appName": "Fetch API",
    "appType": "app",
    "version": {
      "code": 1,
      "name": "1.0.1"
    },
    "icon": "icon.png",
    "vender": "zepp",
    "description": "A sample application to demonstrate the fetch API"
  },
  "permissions": [],
  "runtime": {
    "apiVersion": {
      "compatible": "1.0.0",
      "target": "1.0.1",
      "minVersion": "1.0.0"
    }
  },
  "targets": {
    "common": {
      "module": {
        "page": {
          "pages": [
            "pages/index"
          ]
        },
        "app-side": {
          "path": "app-side/index"
        }
      },
      "platforms": [
        {
          "name": "l66",
          "deviceSource": 260
        },
        {
          "name": "l66w",
          "deviceSource": 261
        },
        {
          "name": "l66_1",
          "deviceSource": 262
        },
        {
          "name": "l66w_2",
          "deviceSource": 263
        },
        {
          "name": "l66_3",
          "deviceSource": 264
        },
        {
          "name": "l66_4",
          "deviceSource": 265
        },
        {
          "name": "l66_5",
          "deviceSource": 266
        }
      ],
      "designWidth": 192
    }
  },
  "i18n": {
    "en-US": {
      "appName": "Fetch API"
    }
  },
  "defaultLanguage": "en-US"
}
emircanerkul commented 1 year ago

It works via https://codeberg.org/Freeyourgadget/Gadgetbridge