33Type-safe App Intents, App Shortcuts, and dynamic shortcut helpers for React Native.
44
55``` bash
6- npm install @crockalet /react-native-app-intents
6+ npm install @avasapp /react-native-app-intents
77```
88
99Full usage docs are set up for GitHub Pages at:
10- ` https://crockalet .github.io/react-native-app-intents/ `
10+ ` https://avasapp .github.io/react-native-app-intents/ `
1111
1212## Basic setup
1313
1414Create ` app-intents.config.ts ` :
1515
1616``` ts
17- import { defineAppIntentsConfig } from " @crockalet /react-native-app-intents/codegen" ;
17+ import { defineAppIntentsConfig } from " @avasapp /react-native-app-intents/codegen" ;
1818
1919export default defineAppIntentsConfig ({
2020 intents: [" src/**/*.intents.ts" ],
@@ -36,7 +36,7 @@ export default defineAppIntentsConfig({
3636Define intents:
3737
3838``` ts
39- import { defineIntent , p } from " @crockalet /react-native-app-intents" ;
39+ import { defineIntent , p } from " @avasapp /react-native-app-intents" ;
4040
4141export const openOrder = defineIntent ({
4242 id: " openOrder" ,
@@ -78,7 +78,7 @@ npx app-intents generate
7878Handle intents in JS:
7979
8080``` ts
81- import { createAppIntentsRuntime } from " @crockalet /react-native-app-intents" ;
81+ import { createAppIntentsRuntime } from " @avasapp /react-native-app-intents" ;
8282import { openOrder } from " ./orders.intents" ;
8383
8484const appIntents = createAppIntentsRuntime ({
@@ -189,7 +189,7 @@ duplicate your intent configuration:
189189``` json
190190{
191191 "expo" : {
192- "plugins" : [" @crockalet /react-native-app-intents" ]
192+ "plugins" : [" @avasapp /react-native-app-intents" ]
193193 }
194194}
195195```
@@ -200,7 +200,7 @@ To use a different config file, pass `configPath`:
200200{
201201 "expo" : {
202202 "plugins" : [
203- [" @crockalet /react-native-app-intents" , { "configPath" : " ./config/app-intents.ts" }]
203+ [" @avasapp /react-native-app-intents" , { "configPath" : " ./config/app-intents.ts" }]
204204 ]
205205 }
206206}
@@ -225,7 +225,7 @@ resource name from `androidResourceName`:
225225 "expo" : {
226226 "plugins" : [
227227 [" expo-asset" , { "assets" : [" ./assets/shortcuts/open_order.png" ] }],
228- " @crockalet /react-native-app-intents"
228+ " @avasapp /react-native-app-intents"
229229 ]
230230 }
231231}
@@ -302,4 +302,4 @@ bun run build
302302```
303303
304304The repository is a Bun workspace. ` packages/react-native ` is the public
305- ` @crockalet /react-native-app-intents ` package; the other workspace packages are private internal boundaries.
305+ ` @avasapp /react-native-app-intents ` package; the other workspace packages are private internal boundaries.
0 commit comments