-
Notifications
You must be signed in to change notification settings - Fork 0
/
PRIVATE_NOTES
41 lines (26 loc) · 1.29 KB
/
PRIVATE_NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Create app
ionic start simple-ionic-8 --type=react --capacitor
# Integration test
# https://docs.cypress.io/guides/getting-started/installing-cypress.html#npm-install
npm install cypress --save-dev
npx cypress open
# https://medium.com/@gxcadr/cypress-recorder-write-cypress-tests-much-easier-and-faster-6ed70b712bff
npm run cypress:open
# Continuous Integration with Github Actions and Cypress
# https://andreybleme.com/2020-02-29/continuous-Integration-with-github-actions-and-cypress-end-to-end-tests/
# https://medium.com/swlh/publish-your-cypress-test-report-with-github-actions-47248788713a
npm install --save-dev mocha cypress-multi-reporters mochawesome
npm install --save-dev mochawesome-merge
npm install --save-dev mochawesome-report-generator
npm [email protected] --save-dev
# https://www.cypress.io/blog/2020/07/08/end-to-end-testing-mobile-apps-with-ionic-and-cypress/
# Deploy
# https://developer.android.com/studio/command-line/adb
ionic capacitor run android
adb pair 192.168.1.152:40897
# Storage issue
https://developer.android.com/about/versions/11/privacy/storage
https://github.com/ionic-team/capacitor/issues/2916
https://github.com/ionic-team/capacitor/pull/2936/files
open -a /Applications/Android\ Studio\ 4.2\ Preview.app/Contents/MacOS/studio android/