Catatan

Menunjukkan catatan yang berlabel Ionic 3

Invalid provider for the NgModule 'AppModule'

Imej
Rujukan https://stackoverflow.com/a/54751202/10763264

Upload APK failed (API 28)

Imej
Error Error ni muncul waktu Lee nak upload apk ke Google Console. Solution Tak semua berjaya guna solution ni.. tapi apa2 pun good luck. Ni solution yg Lee dapat.

In app purchase Ionic 3

In App Purchase 2 Ionic 3 https://ionicframework.com/docs/v3/native/in-app-purchase-2/#QUIET In App Purchase 2 Ionic (default page) https://ionicframework.com/docs/native/in-app-purchase-2 Platform https://ionicframework.com/docs/angular/platform Guide IAP In App Purchases with Ionic (3+ & InAppPurchase2) https://medium.com/@captaincole/in-app-purchases-with-ionic-3-af13b21f49f2 Progress IAP 7/6/2020 In-app purchase in Android using Ionic 4 https://enappd.com/blog/in-app-purchase-in-android-app-using-ionic-4/97/ In App Purchases with Ionic (3+ & InAppPurchase2) https://medium.com/@captaincole/in-app-purchases-with-ionic-3-af13b21f49f2 Use app signing by Google Play https://support.google.com/googleplay/android-developer/answer/7384423

Sign Ionic 3 apk

Apk Metainfo Warning https://stackoverflow.com/a/52132597 How to check certificate name and alias in keystore files? https://stackoverflow.com/a/12894334 Ionic4 Unoptimized APK (.aab) https://forum.ionicframework.com/t/ionic4-unoptimized-apk/166337/6

Upload image in local storage phone using Ionic 3

Nota ni bakal dikemaskini~ Gunakan plugin - camera - file - webview - domsanitizer const   options :  CameraOptions  = {                quality :   70 ,                destinationType :   this . camera . DestinationType . FILE_URI ,                encodingType :   this . camera . EncodingType . JPEG ,                sourceType  :   this . camera . PictureSourceType . CAMERA ,                mediaType :   this . camera . MediaType . PICTURE ,                allowEdit  :   true ,                targetWidth :   500 ,                targetHeight :   500 ,                saveToPhotoAlbum :   true             }              const   tempImage  =  this . camera . getPicture ( options ). then (( imageData )  =>  {                var   tempFilename  =  imageData . substr ( imageData . lastIndexOf ( '/' ) +  1 );                tempFilename  =  tempFilename . substr ( 0 ,  tempFilename . lastIndexOf ( "?" ));                var   tempBaseFilesystemPath  =  imageData . substr

How to import custom font on Ionic 3. Custom Font di Ionic 3

Imej
Hai assalamualaikum kepada pembaca yang melawat blog ni. Untuk post kali ini Lee akan tunjukkan cara untuk set custom font di Ionic 3 dengan betul. 1.     Mula mula sekali kita perlu pergi ke URL https://google-webfonts-helper.herokuapp.com 2.     Seterusnya cari font yang kita nak guna. Sebagai contoh, Lee guna font Nunito 3.     Akan terpapar paparan seperti di bawah. Kita perlu melakukan sedikit aturan ( settings ) sebelum download font.           i - Pilih charset           ii - Pilih style font-size           iii - Copy css yang telah di sediakan           iv - Kita dah boleh download font tu 4.     Copy file ke folder assets di projek Ionic kita 5.     Selepas kita copy file tersebut, kita perlu import font di app.scss di dalam src . Code yang kita copy tadi tu… kita boleh paste dekat dalam app.scss 6.      Ok dah siap. Korang dah boleh buat ionic serve dan ionic cordova build android seperti biasa.