@simon I have to admit that I am thrilled … and troubled at the same time.
I’ve been working to ramp up and learn as quickly as possible how to build some new apps using Intern. I ran into issues early on - my first two attempted to use the GPS and Accelerometer - with no success as I now understand these hardware sensors are not readily available to apps, or Intern doesn’t know how to access them. BUT … creating apps is an incredible feature that I believe could transform the industry and the future of personal devices.
The more troubling experience was last night. I had posted yesterday on Discord trying to create an app that would POST some JSON to my server endpoint. It’s a simple app with a couple of input fields that also have date pickers, and submit buttons associated with each. It built the app, but the app didn’t work. It turns out my fault to some degree. I used the web portal version of Intern to run the app in Chrome and quickly spotted the problem using the developer tools: blocked by HTTPS/HTTP mismatch. I was trying to POST to an HTTP endpoint I had given Intern, but the app was obviously delivered over HTTPS. Time to add SSL/TLS to my endpoint. It still failed. But again, I then saw while doing this I had not configured CORS on my server. Great!
The issue then came down to using Intern to change the endpoint to HTTPS - burned a credit - and then to see that introduced a bug. The app was now doing two POSTs to the new HTTPS endpoint - one empty, one with the proper JSON. Hmmm … work with Intern to ask it to debug/remove the extra post. Burned another credit. And now it changed the app name, and a font size issue appeared. Asked to fix that - burning a credit - and the double POSTing issue came back.
In the end, burned four credits and my app is still not working - the double POSTing is occuring and the font size issue is still there. I mean, the app is sort of working, but my server has to filtr the bogus first POST each time. And the font size breaks the date picker since you can’t see the last digit of the year.
I fully understand this puts you guys in a dilemma. I did use Intern and you have to pay for that. But now I burned four credits for a broken app. Even if I download the source of the app, and attempt to fix it by hand, I’m not clear how to then “upload” or “deploy” the fixed app to my r1. Is this documented someplace?
Just to be clear … at a CTO event this morning I shared all of this experience with those present and indicated that I think you guys are onto something huge here. This model, IMHO, truly tranforms personal mobile devices and applications development, with very cool AI integration and usage. What I’m trying to determine is how can I use this if I now used up 5 credits building an app that is breaking back and forth.
Anyhow … just wanted to report and get some thoughts. I think you guys are on the right track, but I want to better understand how this can work for developers in a cleaner way.