如何将Xamarin iOS作为渐进式Web应用程序(PWA)部署到Web

问题描述:

我是Xamarin的新手,并且已经在Xamarin for iOS中成功创建了一个应用程序.我需要的是一种在浏览器中以PWA形式查看此应用程序的方法.我决定学习xamarin,因为我认为这是有用的资源.

I am new to Xamarin and I have successfully created an application in Xamarin for iOS. What I need is a way for this application to be viewed in the browser as a PWA. I figured to learn xamarin because I thought that this was a useful resource.

我已经看过ooui,但是无法成功将Xamarin项目附加到ooui.

I have looked in to ooui but I can't successfully attach my Xamarin project to ooui.

在该项目结束时,我将在浏览器中以iOS的c#编写一个正在运行的PWA.

At the end of this project I will have a running PWA coded in c# for iOS in the browser.

可以在这里找到Xamarin的链接: https://github.com/SunRhythms/iosslidingpuzzle/tree/master/iOSSlidingPuzzle- 3

A link to the Xamarin can be found here: https://github.com/SunRhythms/iosslidingpuzzle/tree/master/iOSSlidingPuzzle-3

欢迎使用Xamarin!您的github存储库在此设置中设置为私有.

Welcome to Xamarin! Your github repo is set to Private in it's setting.

同样从另一个问题中收集,很明显,您正在使用本机Xamarin.iOS,而不是Xamarin.Forms. (如果您选中, >)

Gathering from your other question as well, it's clear that you are using Native Xamarin.iOS and not Xamarin.Forms. (They have several differences if you check this)

目前,无法将Xamarin.iOS项目移植到已公开的PWA中.如果确实将项目手动转换为Xamarin.Forms项目,则可能使用Ooui将Xamarin Forms转换为高性能WebAssembly代码.

Presently, there is no way of porting your Xamarin.iOS project into a PWA that has been made public. If you do convert your project manually into a Xamarin.Forms project, you could potentially use Ooui to convert Xamarin Forms into high performance WebAssembly code.

似乎您有一款滑动益智游戏,所以如果您最终做完,那就太酷了!与我们以及其他Xamarin社区共享它

It seems like you have a sliding puzzle game, so it would be cool if you do end up doing it! Share it with us and the rest of the Xamarin community