You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Why do I have a folder named ".expo" in my project?
2
-
The ".expo" folder is created when an Expo project is started using "expo start" command.
3
-
> What do the files contain?
4
-
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
5
-
- "settings.json": contains the server configuration that is used to serve the application manifest.
6
-
> Should I commit the ".expo" folder?
7
-
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
8
-
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
1
+
> Why do I have a folder named ".expo" in my project? The ".expo" folder is
2
+
> created when an Expo project is started using "expo start" command. What do
3
+
> the files contain?
4
+
5
+
- "devices.json": contains information about devices that have recently opened
6
+
this project. This is used to populate the "Development sessions" list in your
7
+
development builds.
8
+
- "settings.json": contains the server configuration that is used to serve the
9
+
application manifest.
10
+
> Should I commit the ".expo" folder? No, you should not share the ".expo"
11
+
> folder. It does not contain any information that is relevant for other
12
+
> developers working on the project, it is specific to your machine. Upon
13
+
> project creation, the ".expo" folder is already added to your ".gitignore"
After making changes to component functions, run codegen with:
6
+
5
7
```bash
6
8
cd example/ && npm run dev -- --once
7
9
```
@@ -10,18 +12,23 @@ cd example/ && npm run dev -- --once
10
12
11
13
When adding new functions to this Convex component:
12
14
13
-
1.**Client function** (`src/client/index.ts`):
14
-
- Add method to `PushNotifications` class that calls `ctx.runMutation(this.component.public.functionName, { ...args, logLevel: this.config.logLevel })`
15
+
1.**Client function** (`src/client/index.ts`):
16
+
17
+
- Add method to `PushNotifications` class that calls
Get a user's push notification token following the Expo documentation [here](https://docs.expo.dev/push-notifications/push-notifications-setup/#registering-for-push-notifications), and record it using a Convex mutation:
110
+
Get a user's push notification token following the Expo documentation
> Why do I have a folder named ".expo" in my project?
2
-
The ".expo" folder is created when an Expo project is started using "expo start" command.
3
-
> What do the files contain?
4
-
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
5
-
- "settings.json": contains the server configuration that is used to serve the application manifest.
6
-
> Should I commit the ".expo" folder?
7
-
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
8
-
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
1
+
> Why do I have a folder named ".expo" in my project? The ".expo" folder is
2
+
> created when an Expo project is started using "expo start" command. What do
3
+
> the files contain?
4
+
5
+
- "devices.json": contains information about devices that have recently opened
6
+
this project. This is used to populate the "Development sessions" list in your
7
+
development builds.
8
+
- "settings.json": contains the server configuration that is used to serve the
9
+
application manifest.
10
+
> Should I commit the ".expo" folder? No, you should not share the ".expo"
11
+
> folder. It does not contain any information that is relevant for other
12
+
> developers working on the project, it is specific to your machine. Upon
13
+
> project creation, the ".expo" folder is already added to your ".gitignore"
0 commit comments