-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Trigger.io Support? #74
Comments
This is my first exposure to Trigger. Can you give me some context as to how an app would be architected? |
I just learned of it as well. 😆 It's basically the same as PhoneGap, and allows you to package a web application as a native application and gives you access to native resources (camera, GPS, etc.). In your readme it states that Ooui can run "everywhere", but you really mean within a web context, correct? Is there a way to run Ooui in a native context as well? |
Ooui can run anywhere .NET can - that's it's only limitation. Since Trigger is JavaScript based, getting the two to work together would not be very sustainable. I'm going to close this because I doubt I'll implement it. But thanks for the pointer, I'll keep an eye on it! |
OK cool. I am actually interested in exploring this. :) I will contact the Trigger team to see if it's possible to somehow host an HTTP listener locally (along with Xamarin-compiled artifacts). |
WOW... this is actually way easier than I thought. There is no need to use Trigger/PhoneApp/Cordova for packaging/deployment. I simply created a native project with a simple Xamarin Forms with a WebView as such: And then a publish call here as such: And whalah, instant magic. 😄 I think this is a powerful example as it demonstrates your awesome library here working within a native context. Let me know if it makes sense to work with you on a PR to make this happen (and/or if we should open a new ticket). BTW, this technically satisfies the requirements for a very popular ask here: The only thing we'd have to do is flesh out controls and introduce data-binding, but this is one step closer for some cooooooool stuff in the foreseeable future. Oh yeah, we also have to deal with CSS, but at this point that is a concession I am willing to make. 😉 |
FWIW, I am running into confusion whether or not this is actually possible in a deployed hosted store environment. As per above it appears to run just fine in a local development UWP environment, but that doesn't verify that it actually works when deployed to the actual UWP store, or Apple or Droid's for that matter. I have a question outstanding here on Xamarin's forum if anyone can please clear up my confusion: Thank you for any assistance you can provide. 😄 |
Windows Store also supports Hosted Web Apps, where you just have an empty project and the info for the webpage to show is in the manifest (set in the properties of the project). In latest Visual Studio it is very straightforward, I think you just use the respective project template e.g. see a UWP web page wrapper generated with an older version of Manifold.js (now called PWABuilder - https://www.pwabuilder.com/) - it is practically empty Also for other platforms, could use Manifold.js to make a hosted web app, however Xamarin (or Delphi or other IDE that allows you to make a native app that just contains a webview) is a good option too. Note that the Hosted Web Apps in UWP can interact with the system too |
Pretty nifty project here. 😄
Curious if you know if this integrates well with Trigger.io:
https://trigger.io/
Or is there another/known/preferred method for running this in a native context?
The text was updated successfully, but these errors were encountered: