Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
mobile:ionic [2023/07/16 18:25] mirocowmobile:ionic [2023/07/17 01:08] (текущий) – создано mirocow
Строка 14: Строка 14:
  
   * [[prepaire]]   * [[prepaire]]
-  * [[create-application]]+  * [[mobile:create-application:ionic]] 
 +  * [[mobile:create-application:cordova]]
  
 ====== Create application ====== ====== Create application ======
Строка 31: Строка 32:
   - https://capacitorjs.com/docs/plugins/community   - https://capacitorjs.com/docs/plugins/community
   - https://github.com/orgs/capacitor-community/repositories   - https://github.com/orgs/capacitor-community/repositories
 +
 +====== @capacitor/camera ======
  
 https://capacitorjs.com/docs/apis/camera https://capacitorjs.com/docs/apis/camera
Строка 37: Строка 40:
 $ npx cap sync $ npx cap sync
 </code> </code>
 +
 +====== @capacitor/filesystem ======
  
 https://capacitorjs.com/docs/apis/filesystem https://capacitorjs.com/docs/apis/filesystem
Строка 43: Строка 48:
 $ npx cap sync $ npx cap sync
 </code> </code>
 +
 +====== @capacitor/preferences ======
  
 https://capacitorjs.com/docs/apis/preferences https://capacitorjs.com/docs/apis/preferences
Строка 49: Строка 56:
 $ npx cap sync $ npx cap sync
 </code> </code>
 +
 +====== @capacitor/motion ======
  
 https://capacitorjs.com/docs/apis/motion https://capacitorjs.com/docs/apis/motion
Строка 67: Строка 76:
 $ npx cap sync $ npx cap sync
 </code> </code>
 +
 +====== @capacitor/assets  ======
  
 https://capacitorjs.com/docs/guides/splash-screens-and-icons https://capacitorjs.com/docs/guides/splash-screens-and-icons
Строка 73: Строка 84:
 $ npx capacitor-assets generate $ npx capacitor-assets generate
 </code> </code>
 +
 +====== ionic-native-sms-retriever-plugin-master ======
  
 https://github.com/hanatharesh2712/ionic-native-sms-retriever-plugin-master https://github.com/hanatharesh2712/ionic-native-sms-retriever-plugin-master
 +
 +old:
 +<code bash>
 +$ ionic cordova plugin add cordova-plugin-sms-retriever-manager
 +$ ionic cordova plugin add https://github.com/hanatharesh2712/ionic-native-sms-retriever-plugin-master.git
 +</code>
 +current:
 <code bash> <code bash>
 $ npm i cordova-plugin-sms-retriever-manager $ npm i cordova-plugin-sms-retriever-manager
-$ npm install @ionic-native/sms-retriever+$ npm i https://github.com/hanatharesh2712/ionic-native-sms-retriever-plugin-master.git
 </code> </code>
 +
 +====== @byteowls/capacitor-sms ======
  
 https://github.com/moberwasserlechner/capacitor-sms https://github.com/moberwasserlechner/capacitor-sms
Строка 85: Строка 107:
 $ npx cap sync $ npx cap sync
 </code> </code>
 +
 +====== cordova-plugin-whitelist [DEPRECATED: AllowList] ======
  
 https://github.com/apache/cordova-plugin-whitelist https://github.com/apache/cordova-plugin-whitelist
Строка 90: Строка 114:
 $ npm install cordova-plugin-whitelist $ npm install cordova-plugin-whitelist
 $ npx cap sync $ npx cap sync
 +</code>
 +
 +<code bash>
 +$ ionic cordova plugin add cordova-sms-plugin
 +$ npm install --save @ionic-native/sms
 </code> </code>
  
 ====== Commands ====== ====== Commands ======
 +
 +====== Ionic ======
  
 Очень простые команды для работы с Ionic в Visual Studio Code: Очень простые команды для работы с Ionic в Visual Studio Code:
Строка 107: Строка 138:
   - ng add @angular/pwa - сделать свой апп PWA (добавляется service worker, app manifest + иконки)   - ng add @angular/pwa - сделать свой апп PWA (добавляется service worker, app manifest + иконки)
  
 +====== Capacitor ======
 +
 +<code bash>
 +$ ionic capacitor build android
 +</code>
 +
 +====== Cordova ======
 +
 +<code bash>
 +$
 +</code>