Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

Link to a lotide mobile app (no compiled versions yet)

⁨0⁩ ⁨likes⁩

Submitted ⁨⁨3⁩ ⁨years⁩ ago⁩ by ⁨sj_zero⁩ to ⁨Programming⁩

https://github.com/ProjectHoot/hoot-mobile/

https://github.com/ProjectHoot/hoot-mobile/

Comments

Sort:hotnewtop
  • sj_zero ⁨2⁩ ⁨years⁩ ago

    Came back to recompile (Why didn't I remove the upper version limit altogether at the time?!), the new command line is eas.

    I also tried to upgrade as many of the underlying libraries as possible.

    • sj_zero ⁨2⁩ ⁨years⁩ ago

      http://fbxl.net/hoot.apk

      This is fine, but it's not perfect. I might just hide the buttons that make it crash for now though, since I don't know enough about the code to make it work...

  • sj_zero ⁨3⁩ ⁨years⁩ ago

    Yarn is overwritten by another package called cmdlet or something like that. You have to remove that package then use npm install -g yarn to install yarn. Then you can enter the command yarn and it starts to load the appropriate packages.

    • sj_zero ⁨3⁩ ⁨years⁩ ago

      In App.tsx, I had to modify the acceptable API version.

      useEffect(() => { if (!ctx?.apiUrl) return; LotideService.getInstanceInfo(ctx) .then(data => { console.log(ctx); console.log("version", data.apiVersion); if (data.apiVersion < 8 || data.apiVersion > 10) throw "Bad version"; if (data.apiVersion == ctx.apiVersion) return; applyNewContext({ ...ctx, apiVersion: data.apiVersion, }); })

      Becomes

      useEffect(() => { if (!ctx?.apiUrl) return; LotideService.getInstanceInfo(ctx) .then(data => { console.log(ctx); console.log("version", data.apiVersion); if (data.apiVersion < 8 || data.apiVersion > 12) throw "Bad version"; if (data.apiVersion == ctx.apiVersion) return; applyNewContext({ ...ctx, apiVersion: data.apiVersion, }); })

    • sj_zero ⁨3⁩ ⁨years⁩ ago

      Ok, once yarn is set up and ready and node.js is happy, you go yarn start -- This will show a qr code you scan. You run expo on your phone and that displays the app.

    • sj_zero ⁨3⁩ ⁨years⁩ ago

      had to do a big upgrade of my node.js install next using n

      https://www.softhints.com/install-node-js-linux-mint/

  • sj_zero ⁨3⁩ ⁨years⁩ ago

    I'd like to see if I can compile...