Usage of capacitor-plugins with @ionic-core. #4221
-
While looking through the migration docs, I noticed the new recommendation is to include these plugins: Is there an example somewhere that shows any usage of those plugins in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, ionic code is open source too, you just need to search for haptics and find Search for keyboard and find App is harder to find, but it’s used for the back button handling, so if you search for back button you find |
Beta Was this translation helpful? Give feedback.
Well, ionic code is open source too, you just need to search for haptics and find
https://github.com/ionic-team/ionic-framework/blob/master/core/src/utils/native/haptic.ts
Search for keyboard and find
https://github.com/ionic-team/ionic-framework/blob/master/core/src/utils/keyboard/keyboard.ts
App is harder to find, but it’s used for the back button handling, so if you search for back button you find
https://github.com/ionic-team/ionic-framework/blob/master/core/src/utils/hardware-back-button.ts