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

[notifications] Remove deprecated experienceId from getExpoPushTokenAsync options #22303

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

gabrieldonadel
Copy link
Member

@gabrieldonadel gabrieldonadel commented Apr 27, 2023

Why

This option was deprecated on SDK 48 and should now be completely removed on SDK 49. From now on users must specify a projectId either through ExpoTokenOptions or via the app manifest

Closes ENG-7254

Follow up PR updating docs -> #22305

How

This PR removes the deprecated experienceId field from the getExpoPushTokenAsync function options.

Test Plan

Run NCL

Checklist

@linear
Copy link

linear bot commented Apr 27, 2023

ENG-7254 Remove deprecated `Notifications.getExpoPushTokenAsync()` experienceId field

We should remove the `experienceId` parameter from Notifications getExpoPushTokenAsync function as it was deprecated on SDK 48

Check the link below for reference

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Apr 27, 2023
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Apr 27, 2023
@gabrieldonadel gabrieldonadel merged commit 7305a29 into main Apr 27, 2023
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/remove-deprecated-experience-id branch April 27, 2023 20:03
gabrieldonadel added a commit that referenced this pull request Apr 28, 2023
…oPushTokenAsync options for SDK 49 (#22305)

<!-- disable:changelog-checks -->
# Why

Follow-up PR for #22303

Closes ENG-7254

# How

`et generate-docs-api-data --packageName expo-notifications`

# Test Plan

Changes have been tested by running docs locally.


![image](https://user-images.githubusercontent.com/11707729/234976783-46ce5aae-a9a4-4d54-a5b8-262206e44768.png)
 

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
douglowder pushed a commit that referenced this pull request May 2, 2023
…sync options (#22303)

# Why

This option was deprecated on SDK 48 and should now be completely
removed on SDK 49. From now on users must specify a `projectId` either
through `ExpoTokenOptions` or via the app manifest

Closes ENG-7254

Follow up PR updating docs -> #22305

# How


This PR removes the deprecated `experienceId` field from the
`getExpoPushTokenAsync` function options.


# Test Plan

Run NCL

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
douglowder pushed a commit that referenced this pull request May 2, 2023
…oPushTokenAsync options for SDK 49 (#22305)

<!-- disable:changelog-checks -->
# Why

Follow-up PR for #22303

Closes ENG-7254

# How

`et generate-docs-api-data --packageName expo-notifications`

# Test Plan

Changes have been tested by running docs locally.


![image](https://user-images.githubusercontent.com/11707729/234976783-46ce5aae-a9a4-4d54-a5b8-262206e44768.png)
 

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants