Ionic Apps मोबाइल / AVD पर debug कैसे करें

Subscribers:
3,070
Published on ● Video Link: https://www.youtube.com/watch?v=H220hUj_Qi0



Duration: 1:15:29
112 views
0


Ionic Apps मोबाइल / AVD पर debug कैसे करें

00:00 Intro to the interview questions

03:40 What is @ionic/cli?

04:55 What does installing an NPM package globally mean?

07:24 Is it accessible to all users of your machine?

09:07 You should not use templates while creating project because:
1. It gives you older version of node-modules.
2. It by default sets your git pointing to the git repo where the template project is present. You'll have to manually reset the git.
3. It may contain many files/folders which you're gonna use.

24:39 What's the diff between serving and building? (ionic serve vs ionic build)
1. Serving is in-memory whereas build generates an artifact which is written onto the ROM (HDD / SSD).
2. Unlike building, serving involves deployment on development server.

36:22 How can you debug your app on local development machine?
ng serve
Open developer tool and place a debug point.

43:17 How can you debug your app from any other machine using which you can ping your local development machine?
ng serve --external

01:03:53 But how will you test a defect which is reproducible only on the mobile?
Step 0: ionic build
Step 1: ionic cap add android
Step 2: Change the path of Gradle (in android\gradle\wrapper\gradle-wrapper.properties file).
Step 3: ionic build
Step 4: ionic cap copy
Step 5: ionic cap open android
Single command to replace steps 3, 4 and 5: ionic cap run android -l --external
Step 6: In Android Studio, select your connected-mobile/Android-Virtual-Device and click the 'debug' icon.

================== CONTACT ME =================

Mobile: +91 9158851250
Address: F-102 Sanskriti Society, Kaspate Wasti, Wakad, Pune 411057

=================== CREDITS ====================

Background Music: https://www.bensound.com

=============== LEGAL DISCLAIMER ===============

This video is an intellectual property of Mr. Amit Shirasao. Views expressed on this video are his personal views. Any of his previous/current/future employers or organizations that he may be affiliated with do not, in any way, take any responsibility for the same.







Tags:
amit shirasao
ionic
debug
mobile
chrome
brave
chromium