PWABuilder icon indicating copy to clipboard operation
PWABuilder copied to clipboard

[PWABuilder.com] Add "Meta Quest compatible" checkbox

Open FluorescentHallucinogen opened this issue 3 years ago • 10 comments

Fixes https://github.com/pwa-builder/PWABuilder/issues/3154.

See also https://github.com/pwa-builder/CloudAPK/pull/98.

FluorescentHallucinogen avatar Jul 06 '22 18:07 FluorescentHallucinogen

Thanks FluorescentHallucinogen for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌

ghost avatar Jul 06 '22 18:07 ghost

CLA assistant check
All CLA requirements met.

ghost avatar Jul 06 '22 18:07 ghost

@FluorescentHallucinogen let us know if you need any help with this 😊

jgw96 avatar Jul 11 '22 15:07 jgw96

@jgw96 @JudahGabriel This pull request is ready to review and merge. :wink:

FluorescentHallucinogen avatar Jul 11 '22 17:07 FluorescentHallucinogen

@amrutha95 @jgw96 Have a look?

JudahGabriel avatar Jul 13 '22 23:07 JudahGabriel

Hey @FluorescentHallucinogen , thank you so much for this PR! We are just waiting on talking to Meta who we've been partnering with to create the current Meta Quest packaging service. Will keep you updated.

amrutha95 avatar Jul 14 '22 16:07 amrutha95

@amrutha95

We are just waiting on talking to Meta

FYI, I was in close contact with @jacobrossi and @pampas93 from the Meta team while developing the related pull request for Bubblewrap to ensure that generated APKs meet all requirements and successfully pass all server-side validations for publishing to App Lab and Oculus Store. I.e. this feature already implemented in Bubblewrap 1.18.0, and this pull request only needed for adding the corresponding UI to PWABuilder. It doesn't remove anything (e.g. ovr-platform-util) from PWABuilder (this can be done later in a separate pull request). So IMO currently there is nothing that prevents this pull request from being reviewed and merged. 😉

FluorescentHallucinogen avatar Jul 14 '22 18:07 FluorescentHallucinogen

Hello @FluorescentHallucinogen , I tried using bubblewrap with the --metaquest flag and had a question:

Can the resulting TWA be used for the google play store as well? Or is it specifically for meta quest devices?

amrutha95 avatar Jul 18 '22 22:07 amrutha95

@amrutha95

Can the resulting TWA be used for the google play store as well?

Yes.

Or is it specifically for meta quest devices?

No.

FluorescentHallucinogen avatar Jul 19 '22 06:07 FluorescentHallucinogen

Hi @FluorescentHallucinogen! While we really appreciate this contribution, we had a strategy discussion about this today and decided to keep our Meta Quest platform as is. We have a deep partnership with Meta who help us build on and maintain our existing service, and we would also like to keep packaging separate for Play Store and Meta Quest for now. Hope this makes sense!

amrutha95 avatar Aug 09 '22 20:08 amrutha95

decided to keep our Meta Quest platform as is

That makes sense to me. Because APK files generated by ovr-platform-util is just a few kilobytes in size.

But, again, this pull request doesn't remove existing ovr-platform-util integration!

This pull request just only exposes an option that already exist in bubblewrap.

These things can coexist perfectly together.

It would be very strange that the PWABuilder can't do what the bubblewrap (that is used in the PWABuilder under the hood) can do. 🤯

Hiding existing options from the UI doesn't make sense for me.

Moreover, bubblewrap can generate universal APKs that open TWA (Trusted Web Activity) on regular Android devices and open Meta Quest Browser on Meta Quest VR devices. APKs generated by ovr-platform-util work only on Meta Quest VR devices and can't work on regular Android devices.

So please give my pull request another chance. 😉

@PEConn @andreban @jacobrossi @pampas93 @phosiaz cc.

FluorescentHallucinogen avatar Aug 15 '22 16:08 FluorescentHallucinogen

Hi @FluorescentHallucinogen ! To make sure I understand: This PR adds a checkbox to the android PWA creation flow that allows users to also make the apk Meta Quest compatible?

Could you add some screenshots and explain the updated flow the user will see?

phosiaz avatar Aug 16 '22 18:08 phosiaz

@phosiaz

To make sure I understand: This PR adds a checkbox to the android PWA creation flow that allows users to also make the apk Meta Quest compatible?

Exactly!

Could you add some screenshots and explain the updated flow the user will see?

Here are the screenshots and the updated flow:

  1. The user selects the "Android" option. Note that the "Meta Quest" option is still available.

screenshot-1

  1. The user can check the new "Meta Quest compatible" checkbox. Note that it's unchecked by default.

screenshot-2

FluorescentHallucinogen avatar Aug 17 '22 15:08 FluorescentHallucinogen

Got it, thanks for clarifying! This feature looks great, but since Meta Quest Store Packaging option is already present, we're not sure if adding another Meta Quest option embedded within Android is required. Developers currently can't upload PWAs to App Lab, so I think the developers who are creating PWAs will likely be prioritizing a specific OS already. We can always revisit this if we get more users requesting this feature later on :)

phosiaz avatar Aug 18 '22 00:08 phosiaz

Developers currently can't upload PWAs to App Lab, so I think the developers who are creating PWAs will likely be prioritizing a specific OS already.

Quite the opposite in fact: for me, as a PWA developer, it's better to pack the PWA into a universal APK once. I don't want to create and test APK for each platform (Android, ChromeOS, Meta Quest) separately. It is contradicting the core PWA idea — cross-platform (write once, run everywhere).

If Bubblewrap provides such a feature, it could be in PWABuilder as well.

Moreover, this option looks like a minor tweak, disabled by default and hidden under the "All settings" spoiler.

The PWABuilder should give developers a choice! 🙌

khmyznikov avatar Oct 06 '22 09:10 khmyznikov

Thanks @khmyznikov for sharing your perspective and glad to hear your interest in building PWAs for all platforms 😊 In that case, I think it's okay to merge this PR, since it's just adding an additional choice without changing the default

phosiaz avatar Oct 20 '22 20:10 phosiaz

@amrutha95 Could you please reopen this pull request? :wink:

FluorescentHallucinogen avatar Oct 20 '22 20:10 FluorescentHallucinogen

For reviewers: to work this pull request requires https://github.com/pwa-builder/CloudAPK/pull/98 be merged too.

FluorescentHallucinogen avatar Oct 20 '22 20:10 FluorescentHallucinogen

Let me consult my team once again and I'll let you know!

amrutha95 avatar Nov 03 '22 21:11 amrutha95

@Jaylyn-Barbee do you mind reviewing this?

amrutha95 avatar Nov 17 '22 18:11 amrutha95

@amrutha95 I can pull the branch down and check it out after our meeting

Jaylyn-Barbee avatar Nov 17 '22 18:11 Jaylyn-Barbee

Hello @FluorescentHallucinogen, we are looking to merge this PR however, I am having some issues pulling this PR onto my own machine. Since there has been a major frontend overhaul on our site, we want to make sure that this is all still working visually, and that the API is still called properly with your new flag.

Would you mind reviewing this yourself and updating this PR if necessary to match the redesign.

Thanks again for your work!

Jaylyn-Barbee avatar Nov 17 '22 19:11 Jaylyn-Barbee

@Jaylyn-Barbee Ok, I'll do. :wink:

FluorescentHallucinogen avatar Nov 17 '22 19:11 FluorescentHallucinogen

@Jaylyn-Barbee

I've rebased this pull request and checked that everything works as intended. Ready to merge. ;)

Please also don't forget to merge and release https://github.com/pwa-builder/CloudAPK/pull/98 to make the new checkbox work. ;)

FluorescentHallucinogen avatar Nov 17 '22 20:11 FluorescentHallucinogen

@FluorescentHallucinoge, thank you so much!

Jaylyn-Barbee avatar Nov 17 '22 20:11 Jaylyn-Barbee

@Jaylyn-Barbee

we are looking to merge this PR

Do you have any idea of when this PR be merged? And how soon after merging will it be available on https://preview.pwabuilder.com and https://pwabuilder.com?

FluorescentHallucinogen avatar Nov 28 '22 08:11 FluorescentHallucinogen

@FluorescentHallucinogen, we are working to make sure the backend component will be up to date to handle the new meta quest compatible option. @amrutha95 will be back here to update once that is complete. Once merged, it would be available in the following 10 minutes.

Jaylyn-Barbee avatar Nov 28 '22 14:11 Jaylyn-Barbee

@Jaylyn-Barbee we have updated the CloudAPK

khmyznikov avatar Nov 29 '22 18:11 khmyznikov