Skip to content

Commit ba84e48

Browse files
committed
Add more sample apps for integrating Mixpanel including using Context API
1 parent 15d4b88 commit ba84e48

File tree

203 files changed

+9545
-191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+9545
-191
lines changed

.github/workflows/node.js.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ jobs:
4242
node-version: ${{ matrix.node-version }}
4343
- run: npm install
4444
- name: Test Integration - Install dependencies
45-
working-directory: ./MixpanelDemo
45+
working-directory: ./Samples/SimpleMixpanel
4646
run: yarn install
4747
- name: Setup Android
4848
uses: reactivecircus/android-emulator-runner@v2
4949
with:
5050
api-level: 21
51-
working-directory: ./MixpanelDemo/android
52-
script: ./gradlew connectedCheck
51+
working-directory: ./Samples/SimpleMixpanel/android
52+
script: ./gradlew
5353
- name: Test Android
54-
working-directory: ./MixpanelDemo
54+
working-directory: ./Samples/SimpleMixpanel
5555
run: yarn android
5656

5757
test_ios:
@@ -69,12 +69,12 @@ jobs:
6969
node-version: ${{ matrix.node-version }}
7070
- run: npm install
7171
- name: Test Integration - Install dependencies
72-
working-directory: ./MixpanelDemo
72+
working-directory: ./Samples/SimpleMixpanel
7373
run: yarn install
7474
- name: Setup iOS
75-
working-directory: ./MixpanelDemo/ios
75+
working-directory: ./Samples/SimpleMixpanel/ios
7676
run: pod install
7777
- name: Test iOS
78-
working-directory: ./MixpanelDemo
78+
working-directory: ./Samples/SimpleMixpanel
7979
run: yarn ios
8080

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ ios/project.xcworkspace
3030
# Android
3131
android/build/
3232
android/app/
33+
android/.gradle
34+
.gradle
3335
*.idea
34-
*.gradle
3536
*.settings
3637
android/local.properties
3738
*.classpath

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Please refer to our [Apple App Developer Privacy Guidance](https://mixpanel.com
130130
## I want to know more!
131131

132132
No worries, here are some links that you will find useful:
133-
* **[Sample app](https://github.com/mixpanel/mixpanel-react-native/tree/master/MixpanelDemo)**
133+
* **[Sample apps](https://github.com/mixpanel/mixpanel-react-native/tree/master/Samples)**
134134
* **[Full API Reference](https://mixpanel.github.io/mixpanel-react-native/Mixpanel.html)**
135135

136136
Have any questions? Reach out to Mixpanel [Support](https://help.mixpanel.com/hc/en-us/requests/new) to speak to someone smart, quickly.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ buck-out/
5757

5858
# CocoaPods
5959
/ios/Pods/
60+
/ios/Podfile.lock

0 commit comments

Comments
 (0)