Skip to content
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

[Feature] add to IOS #100

Open
Nauris62 opened this issue Jan 18, 2023 · 11 comments
Open

[Feature] add to IOS #100

Nauris62 opened this issue Jan 18, 2023 · 11 comments

Comments

@Nauris62
Copy link

I would love this on ios couse im a strictly iphone user

@ShootingKing-AM ShootingKing-AM changed the title [Issue] add to IOS [Feature] add to IOS Apr 10, 2023
@NintyS
Copy link

NintyS commented Apr 20, 2023

If something is needed like remote MacOS to make builds I can help.

@ShootingKing-AM
Copy link
Member

Thanks for your interest, but last time I checked, to develop iOS apps, we need to pay a lot of money to Apple Inc, to even start development. I personally don't have any iOS devices to test myself. Also I feel if you can afford an iOS device, you can easily invest in a standalone vr hardware (i guess?)

@NintyS
Copy link

NintyS commented Apr 22, 2023

No, developing app is free. Releasing it costs. Free version ( Apple Developer account) of app have 10 days to expire as far as I remember. Paid version have expire date up to one year. Only apps from App Store don't expire. Yes, if you can buy a brand new iPhone then you can buy a standalone device too, but from what I observed in my group most people buy a 2/3 years old iPhone or gets them ( used ) from family.

I have Apple devices and I can try to help develop iOS version ( but I'm not fluent in Switch or Objective-C )

@ShootingKing-AM
Copy link
Member

IIRC there is a constraint of dev environment too right ? Like need to develop (run the IDE) on MacOS etc.
Even am not fluent in Swift, but once you start shouldn't be hard.

@NintyS
Copy link

NintyS commented Apr 22, 2023

Yea, you need to have Mac with MacOS which supports newest xCode version to program on newest iOS versions.

If you want I can try create iOS client in Qt & C++.

@ShootingKing-AM
Copy link
Member

Maybe you can try researching software platforms which are available for both Android and iOS, instead of writing in native iOS (Swift etc.). I am aware that there are packages like flutter (etc.) which support multi-os with the same code base.

Maybe we can somehow integrate flutter (or other) with current code base. Its not a good idea to write the same code in two different languages, since it would be hard to maintain. That said, I myself don't know how to integrate flutter with ndk to port it to iOS, or even if it supports NDK.

The smartphone market is around 75% Android and 25% iOS IIRC. Hence, Supporting iOS would make us available for even more users. Any PRs are welcome though.

@NintyS
Copy link

NintyS commented Apr 29, 2023

Then Qt supposed to be good. I can create one code and build it for two or more platforms

@ShootingKing-AM
Copy link
Member

I hope you are talking about mobile, never heard of Qt for android, but still try to reuse the existing codebase as much as possible.

If you are talking about server codebase, SteamVR API(which PVR uses) itself is not supported for linux/macos. In the latest commits to master branch, I made an integration with ALVR, which has some experimental linux support.

@NintyS
Copy link

NintyS commented Apr 30, 2023

Yes, I'm saying about mobile. You can write apps in Qt for iOS, Android And Ubuntu Touch ( but there you need to do a lots of work ). I will try to reuse the code.

@NintyS
Copy link

NintyS commented Aug 17, 2023

@ShootingKing-AM can you throw some informations about how to connect to ALVR server and if google cardboard is required?

@ShootingKing-AM
Copy link
Member

ShootingKing-AM commented Aug 18, 2023

ALVR has a library that can statically linked via Android NDK, that alvr_client_core can be used to communicate with ALVR Server. Yes Google carboard is required for its API.

ALVR code in NDK: https://github.com/PhoneVR-Developers/PhoneVR/blob/master/code/mobile/android/PhoneVR/app/src/main/cpp/alvr_main.cpp

Linking with ALVR_client_core: https://github.com/PhoneVR-Developers/PhoneVR/blob/master/code/mobile/android/PhoneVR/app/CMakeLists.txt

Makeing Alvr_client_core lib: https://github.com/PhoneVR-Developers/PhoneVR/blob/master/code/mobile/android/PhoneVR/prepare-alvr-deps.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants