-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
iOS Swift Conversion #2527
iOS Swift Conversion #2527
Conversation
@zchwyng @sebjacobs @Fedeorlandau would you mind testing this in your existing project or any of the updated example project in this repo? |
Hi @nickfujita, just raised it to the management team the need for us to start making PRs to the main repository as well and not only to our fork https://github.com/valtech-sd/react-native-video so we can get the latest fixes from you. I'll let you know how it goes and thank you for you work here |
@Fedeorlandau that's great! was not even aware of the changes your team has been making in that branch. Excited to have a look through and see what we can get back into the main repo. 🙏🏼 |
hey @Fedeorlandau wanted to check back in with you to see if you had some time to test out this PR? |
Hi there. Not really, I'm not in the project anymore. @adriandragdolby @ShaneMckenna23 could you please check this? Thanks |
Hi @adriandragdolby @ShaneMckenna23 would either of you be able to perform a test of this Swift conversion? The test application sin the project have been updates, so you can simply run the command |
@nickfujita I think v6 would be the right time to just go ahead and make the move! If we break stuff, we will get fresh report from the people who upgrade and test it out. Care to update the branch to current master? It would be best if we can break this PR into smaller pieces as it changes a lot of files including Android that would be much easier to review in smaller chunks. |
e9535be
to
163442b
Compare
examples/basic/android/gradle/wrapper/gradle-wrapper.properties
Outdated
Show resolved
Hide resolved
…ative-video into ios-swift-conversion
@cobarx The example projects were recreated with a create react native app template, so some of the things were removed, such as comments, rules, etc. Added back the ones that were mentioned above. |
examples/basic/android/app/src/main/java/com/videoplayer/MainApplication.java
Show resolved
Hide resolved
Fantastic work everyone! Thanks @nickfujita for sticking with it... |
This PR is a conversion of the iOS implementation from Objective-c to Swift.
Goals of conversion
During the conversion process some updates to the code structure were also made
Test Instructions
If you have an existing project, please give this branch a try and reply with any issues, and will be happy to have a look.
iOS project update
There is a breaking change in terms of setup, where you will need to add support for static dependency linking in the Podfile in your ios project. For details, please see the example ios project: https://github.com/crunchyroll/react-native-video/blob/ios-swift-conversion/examples/basic/ios/Podfile#L5
Testing in updated basic example apps
iOS Example
Android Example
Windows Example