Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: ionic date picker and haptics not working #4609

Closed
caem1420 opened this issue May 23, 2021 · 2 comments
Closed

bug: ionic date picker and haptics not working #4609

caem1420 opened this issue May 23, 2021 · 2 comments

Comments

@caem1420
Copy link

Bug Report

Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 3.0.0
@capacitor/core: 3.0.0
@capacitor/android: 3.0.0
@capacitor/ios: 3.0.0

Installed Dependencies:

@capacitor/cli: 3.0.0
@capacitor/core: 3.0.0
@capacitor/android: 3.0.0
@capacitor/ios: 3.0.0

[success] iOS looking great! 👌
[success] Android looking great! 👌

Platform(s)

ios

Current Behavior

When i use the date picker from ionic, it gets stuck and in the console of xcode appear this message
also happen when trying to make the phone vibrate with the haptics plugin, i dont know if the error also happen with other plugins

⚡️ ------ STARTUP JS ERROR ------

⚡️ TypeError: win.Capacitor.isPluginAvailable is not a function. (In 'win.Capacitor.isPluginAvailable('Haptics')', 'win.Capacitor.isPluginAvailable' is undefined)
⚡️ URL: capacitor://localhost/common.js
⚡️ common.js:467:83
⚡️ [error] - {}

⚡️ See above for help with debugging blank-screen issues

Expected Behavior

The date picker should work without problems

Code Reproduction

  1. Create basic app with ionic and capacitor
  2. install haptics plugin
  3. use ionic date picker
  4. compile and run in ios

Other Technical Details

npm --version output:6.14.12

node --version output:v14.16.1

pod --version output (iOS issues only): 1.10.1

Additional Context

@jcesarmobile
Copy link
Member

it was fixed here, still not released

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants