Skip to content

feat(angular, react, vue, core): export openURL utility - #28295

Merged
liamdebeasi merged 2 commits into
ionic-team:feature-7.5from
fpladano:export-openurl-utils
Oct 9, 2023
Merged

feat(angular, react, vue, core): export openURL utility#28295
liamdebeasi merged 2 commits into
ionic-team:feature-7.5from
fpladano:export-openurl-utils

Conversation

@fpladano

@fpladano fpladano commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

Issue number: resolves #27911


What is the current behavior?

The openURL utility is not available to developers.

What is the new behavior?

  • Export openURL utilities from @ionic/core, @ionic/angular, @ionic/react and @ionic/vue.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions Bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package package: react @ionic/react package labels Oct 5, 2023
Comment thread core/src/index.ts Outdated
export { isPlatform, Platforms, PlatformConfig, getPlatforms } from './utils/platform';
export { IonicSafeString } from './utils/sanitization';
export { IonicConfig, getMode, setupConfig } from './utils/config';
export { openURL } from "./utils/theme";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The code formatting here will fail our prettier diff check due to the use of double quotes instead of single quotes.

In the packages/core project, you can run npm run prettier -- --write and commit the diff.

@fpladano fpladano Oct 6, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I've pushed the changes

@sean-perkins sean-perkins changed the title feat: export openURL utilities #27911 feat(angular,react,vue,core): export openURL utility Oct 6, 2023
Update openURL import to use single quotes
@liamdebeasi liamdebeasi changed the title feat(angular,react,vue,core): export openURL utility feat(core): export openURL utility Oct 9, 2023
@liamdebeasi liamdebeasi changed the title feat(core): export openURL utility feat(angular, react, vue, core): export openURL utility Oct 9, 2023

@liamdebeasi liamdebeasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you!

@sean-perkins sean-perkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perfect, thank you for your help!

@liamdebeasi
liamdebeasi merged commit 6da82aa into ionic-team:feature-7.5 Oct 9, 2023
@liamdebeasi liamdebeasi mentioned this pull request Oct 9, 2023
3 tasks
@liamdebeasi

Copy link
Copy Markdown
Contributor

Merged. Thank you very much!

@fpladano
fpladano deleted the export-openurl-utils branch October 22, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: react @ionic/react package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants