Skip to content

Commit 1dab256

Browse files
committed
Add all pnp mobile examples
0 parents  commit 1dab256

File tree

1,262 files changed

+163376
-0
lines changed

Some content is hidden

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

1,262 files changed

+163376
-0
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: npm
5+
directory: /
6+
schedule:
7+
interval: monthly

.github/stale.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 30
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 30
5+
# Issues with these labels will never be considered stale
6+
exemptLabels: false
7+
# Label to use when marking an issue as stale
8+
staleLabel: stale
9+
# Comment to post when marking an issue as stale. Set to `false` to disable
10+
markComment: >
11+
This issue has been automatically marked as stale because it has not had
12+
recent activity. It will be closed if no further activity occurs. Thank you
13+
for your contribution.
14+
# Comment to post when closing a stale issue. Set to `false` to disable
15+
closeComment: >
16+
Closed due to inactivity. Please open a new issue regarding this or ask one of the maintainers to reopen.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Upload Android Playground build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "android/android-playground/**"
9+
10+
defaults:
11+
run:
12+
working-directory: ./android/android-playground
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v3
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Set execution flag for gradlew
29+
run: chmod +x gradlew
30+
31+
- name: Change wrapper permissions
32+
run: chmod +x ./gradlew
33+
34+
- name: Build apk debug project
35+
run: ./gradlew assembleDebug
36+
37+
- name: Upload to Appeitize
38+
uses: appetizeio/[email protected]
39+
with:
40+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
41+
publicKey: ${{ secrets.ANDROID_PLAYGROUND_PUBLIC_KEY }}
42+
appFile: ./android/android-playground/app/build/outputs/apk/debug/app-debug.apk
43+
platform: "android"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Upload Android Quick Start build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'android/android-quick-start/**'
9+
10+
defaults:
11+
run:
12+
working-directory: ./android/android-quick-start
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v3
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Set execution flag for gradlew
29+
run: chmod +x gradlew
30+
31+
- name: Change wrapper permissions
32+
run: chmod +x ./gradlew
33+
34+
- name: Build apk debug project
35+
run: ./gradlew assembleDebug
36+
37+
- name: Upload to Appeitize
38+
uses: appetizeio/[email protected]
39+
with:
40+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
41+
publicKey: ${{ secrets.ANDROID_QUICK_START_PUBLIC_KEY }}
42+
appFile: ./android/android-quick-start/app/build/outputs/apk/debug/app-debug.apk
43+
platform: "android"
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Upload Flutter Android & iOS Playground build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "flutter/flutter-playground/**"
9+
10+
defaults:
11+
run:
12+
working-directory: ./flutter/flutter-playground/
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: macos-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Setup Flutter SDK
29+
uses: subosito/flutter-action@v2
30+
with:
31+
channel: stable
32+
33+
- name: Install Dependencies
34+
run: flutter pub get
35+
36+
- name: Build APK
37+
run: flutter build apk --debug
38+
39+
- name: Pod Install
40+
run: |
41+
cd ios
42+
pod install
43+
44+
- name: Build iOS simulator build
45+
run: |
46+
cd ios
47+
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -derivedDataPath build
48+
49+
- name: Compress iOS build
50+
run: |
51+
cd ios
52+
tar -czf ios_build.tar.gz build/Build/Products/Debug-iphonesimulator
53+
54+
- name: Upload Android build to Appeitize
55+
uses: appetizeio/[email protected]
56+
with:
57+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
58+
publicKey: ${{ secrets.FLUTTER_ANDROID_PLAYGROUND_PUBLIC_KEY }}
59+
appFile: ./flutter/flutter-playground/build/app/outputs/apk/debug/app-debug.apk
60+
platform: "android"
61+
62+
- name: Upload iOS build to Appeitize
63+
uses: appetizeio/[email protected]
64+
with:
65+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
66+
publicKey: ${{ secrets.FLUTTER_IOS_PLAYGROUND_PUBLIC_KEY }}
67+
appFile: ./flutter/flutter-playground/ios/ios_build.tar.gz
68+
platform: "ios"
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Upload Flutter Android & iOS Quick Start build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'flutter/flutter-quick-start/**'
9+
10+
defaults:
11+
run:
12+
working-directory: ./flutter/flutter-quick-start/
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: macos-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Setup Flutter SDK
29+
uses: subosito/flutter-action@v2
30+
with:
31+
channel: stable
32+
33+
- name: Install Dependencies
34+
run: flutter pub get
35+
36+
- name: Build APK
37+
run: flutter build apk --debug
38+
39+
- name: Pod Install
40+
run: |
41+
cd ios
42+
pod install
43+
44+
- name: Build iOS simulator build
45+
run: |
46+
cd ios
47+
xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -derivedDataPath build
48+
49+
- name: Compress iOS build
50+
run: |
51+
cd ios
52+
tar -czf ios_build.tar.gz build/Build/Products/Debug-iphonesimulator
53+
54+
- name: Upload Android build to Appeitize
55+
uses: appetizeio/[email protected]
56+
with:
57+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
58+
publicKey: ${{ secrets.FLUTTER_ANDROID_QUICK_START_PUBLIC_KEY }}
59+
appFile: ./flutter/flutter-quick-start/build/app/outputs/apk/debug/app-debug.apk
60+
platform: "android"
61+
62+
- name: Upload iOS build to Appeitize
63+
uses: appetizeio/[email protected]
64+
with:
65+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
66+
publicKey: ${{ secrets.FLUTTER_IOS_QUICK_START_PUBLIC_KEY }}
67+
appFile: ./flutter/flutter-quick-start/ios/ios_build.tar.gz
68+
platform: "ios"
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Upload React Native Android & iOS Quick Start build on appeitize
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'react-native/rn-bare-quick-start/**'
9+
10+
defaults:
11+
run:
12+
working-directory: ./react-native/rn-bare-quick-start/
13+
14+
jobs:
15+
build-and-upload:
16+
runs-on: macos-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set Up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "zulu"
25+
java-version: "17"
26+
cache: "gradle"
27+
28+
- name: Install Dependencies
29+
run: npm install
30+
31+
- name: Bundle Android build
32+
run : |
33+
npx mkdirp android/app/src/main/assets/
34+
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
35+
36+
- name: Build APK
37+
run: |
38+
cd android
39+
./gradlew assembleDebug
40+
41+
- name: Pod Install
42+
run: |
43+
cd ios
44+
pod install
45+
46+
- name: Bundle iOS build
47+
run: npx react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios/main.jsbundle --assets-dest ios
48+
49+
- name: Build iOS simulator build
50+
run: |
51+
cd ios
52+
xcodebuild -workspace web3authrnexample.xcworkspace -scheme web3authrnexample -sdk iphonesimulator -derivedDataPath build
53+
54+
- name: Compress iOS build
55+
run: |
56+
cd ios
57+
tar -czf ios_build.tar.gz build/Build/Products/Debug-iphonesimulator
58+
59+
- name: Upload Android build to Appeitize
60+
uses: appetizeio/[email protected]
61+
with:
62+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
63+
publicKey: ${{ secrets.RN_ANDROID_QUICK_START_PUBLIC_KEY }}
64+
appFile: ./react-native/rn-bare-quick-start/android/app/build/outputs/apk/debug/app-debug.apk
65+
platform: "android"
66+
67+
- name: Upload iOS build to Appeitize
68+
uses: appetizeio/[email protected]
69+
with:
70+
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }}
71+
publicKey: ${{ secrets.RN_IOS_QUICK_START_PUBLIC_KEY }}
72+
appFile: ./react-native/rn-bare-quick-start/ios/ios_build.tar.gz
73+
platform: "ios"

.github/workflows/lintcheck.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Check Markdown links
2+
3+
on: push
4+
5+
jobs:
6+
markdown-link-check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
11+
with:
12+
use-quiet-mode: yes
13+

0 commit comments

Comments
 (0)