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: add visionOS support #622

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

thiagobrez
Copy link
Contributor

This PR adds support for React Native visionOS, the new out-of-tree platform.

Vision OS has the new Optic ID biometric, but it behaves same as on iOS. All APIs used here are supported, so it was just a matter of considering TARGET_OS_VISION in the same preprocessor directives that already had TARGET_OS_IOS.

If you think this is good, I can update the docs with visionOS support in a next commit :)

image

@androideveloper
Copy link
Collaborator

Hi @thiagobrez ! Great, thanks for the contribution!

Sounds good to me, I've checked with an iOS engineer 👍 Could you add some docs? 🙏

@thiagobrez
Copy link
Contributor Author

@androideveloper Awesome! Just pushed a commit mentioning visionOS in the docs + 1 missing type for BIOMETRY_TYPE.OPTIC_ID. Let me know what you think 🙌

@androideveloper
Copy link
Collaborator

thanks! @oblador could you check this as well before I merge? 🙏

Copy link
Owner

@oblador oblador left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for your contribution 👍

@androideveloper
Copy link
Collaborator

@thiagobrez could you please check this one?
#624
Seems to be a breaking change after vision os was added

@thiagobrez
Copy link
Contributor Author

@androideveloper Sure, I was following the same approach on that code block but @available(visionOS) happens to only be available on Xcode 15, missed that.

Sent a fix here: #631

SamuelScheit pushed a commit to respondchat/react-native-keychain that referenced this pull request Jun 23, 2024
* feat: add visionOS support

* docs: add visionOS docs
github-merge-queue bot referenced this pull request in valora-inc/wallet Sep 6, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-native-keychain](https://redirect.github.com/oblador/react-native-keychain)
| [`^8.1.3` ->
`^8.2.0`](https://renovatebot.com/diffs/npm/react-native-keychain/8.1.3/8.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-keychain/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-keychain/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-keychain/8.1.3/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-keychain/8.1.3/8.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>oblador/react-native-keychain (react-native-keychain)</summary>

###
[`v8.2.0`](https://redirect.github.com/oblador/react-native-keychain/releases/tag/v8.2.0):
8.2.0

[Compare
Source](https://redirect.github.com/oblador/react-native-keychain/compare/v8.1.3...v8.2.0)

#### What's Changed

- feat: add visionOS support by
[@&#8203;thiagobrez](https://redirect.github.com/thiagobrez) in
[https://github.com/oblador/react-native-keychain/pull/622](https://redirect.github.com/oblador/react-native-keychain/pull/622)

#### New Contributors

- [@&#8203;thiagobrez](https://redirect.github.com/thiagobrez) made
their first contribution in
[https://github.com/oblador/react-native-keychain/pull/622](https://redirect.github.com/oblador/react-native-keychain/pull/622)

**Full Changelog**:
oblador/react-native-keychain@v8.1.3...v8.2.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsibnBtIiwicmVub3ZhdGUiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jean Regisser <[email protected]>
Co-authored-by: valora-bot <[email protected]>
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.

3 participants