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

feat!(ios): remove native dependency promises #3631

Conversation

KrzysztofMoch
Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch commented Mar 30, 2024

⚠️ Breaking - min iOS, tvOS version bumped

Summary

Remove native iOS dependency promises and migrate to async/await

Motivation

We internally discussed that we should remove this dependency as we can go without it. promises also required privacy manifest, so generally it should be easier for us in future to go without it.

Changes

min version bumped

  • iOS 9.0 -> 13.0
  • tvOS 10.0 -> 13.0

Test plan

  • Tested in basic example
    • on iOS
    • on tvOS
    • on visionOS
  • CI pass

@KrzysztofMoch KrzysztofMoch force-pushed the feat/remove-ios-native-dependency branch from 0569f39 to 1de14c7 Compare March 30, 2024 09:43
@KrzysztofMoch KrzysztofMoch changed the title feat(ios): remove native dependency promises feat!(ios): remove native dependency promises Mar 30, 2024
@KrzysztofMoch KrzysztofMoch force-pushed the feat/remove-ios-native-dependency branch from e2130c7 to 4586233 Compare March 30, 2024 10:15
@KrzysztofMoch KrzysztofMoch marked this pull request as ready for review March 30, 2024 10:21
@KrzysztofMoch
Copy link
Collaborator Author

It is generally ready for review, but I need to test tvOS an visionOS now

Copy link
Collaborator

@freeboub freeboub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

were you able to test this PR on a content with DRM ?

}
} catch {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a log here in case of error ?

@KrzysztofMoch
Copy link
Collaborator Author

No i wasn't able to find any example stream

@KrzysztofMoch
Copy link
Collaborator Author

KrzysztofMoch commented Apr 3, 2024

@YangJonghun @facugu1998 do you have DRM (FairPlay) stream and could test it ?

@YangJonghun
Copy link
Collaborator

@freeboub @KrzysztofMoch
DRM works fine

@KrzysztofMoch KrzysztofMoch merged commit 10b100d into TheWidlarzGroup:master Apr 4, 2024
7 checks passed
@KrzysztofMoch KrzysztofMoch deleted the feat/remove-ios-native-dependency branch April 11, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants