Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
- Add an iOS fallback
- Fix cmj & esm imports
  • Loading branch information
retyui committed Aug 1, 2023
1 parent 55986f0 commit cc32100
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "react-native-widget-picker",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"main": "src",
"module": "src",
"main": "dist/cjs",
"module": "dist/mjs",
"react-native": "src",
"source": "src",
"peerDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions src/index.ios.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const WidgetPicker = {
isRequestPinAppWidgetSupported: () => false,
requestPinAppWidget: (widgetClassKey: string) => Promise.resolve({message: 'not supported on ios'})
} as const

0 comments on commit cc32100

Please sign in to comment.