You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/23 17:12:09 UTC

[GitHub] webspecialist opened a new issue #79: Vibrate not working on Android 4.4.2 with Ionic 3 or 4

webspecialist opened a new issue #79: Vibrate not working on Android 4.4.2 with Ionic 3 or 4
URL: https://github.com/apache/cordova-plugin-vibration/issues/79
 
 
   # Bug Report
   When I opened debug in Android studio shows me that...
   
   Connecting to io.ionic.tester
   Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
   V/Provider/Settings: get setting for user 0 by user 0 so skipping cache
       invalidate [system]: current 51 != cached 0
   D/ActivityThread: hoder:android.app.IActivityManager$ContentProviderHolder@42c9b3c8,provider,holder.Provider:android.content.ContentProviderProxy@42c9bb40
   V/Provider/Settings: from db cache, name = anr_debugging_mechanism , value = 1
   D/asset: AssetManager-->addDefaultAssets CIP path not exsit!
   W/ActivityThread: Application io.ionic.tester is waiting for the debugger on port 8100...
   I/System.out: Sending WAIT chunk
   I/dalvikvm: Debugger is active
   A/libc: Fatal signal 11 (SIGSEGV) at 0x0000000a (code=1), thread 13232 (io.ionic.tester)
   
   ## Problem
   My phone is not vibrated.
   
   ### What is expected to happen?
   When I click to my button I am expecting to vibrate.
   
   
   
   ### What does actually happen?
   Nothing
   
   
   ## Information
   Local Notification with the options vibrate is working but not this plugin.
   
   
   
   ### Command or Code
   ```
   --type="ionic-angular" 
   ionic cordova plugin add cordova-plugin-vibration
   npm install --save @ionic-native/vibration@4
   app.module.ts
   import { Vibration } from '@ionic-native/vibration';
   
   providers: [ ....
   Vibration ....]
   
   home.ts
   import { Vibration } from '@ionic-native/vibration';
   ...
   constructor(private vibration: Vibration){}
   
   vibrate(){
       this.vibration.vibrate(2000);
     }
   
   home.html
   <button ion-button (click)="vibrate()" color="warning" full>Vibration</button>
   
   in a similar (not same) way for --type="angular" 
   ionic cordova plugin add cordova-plugin-local-notification
   npm install @ionic-native/local-notifications
   etc...
   ```
   
   ### Environment, Platform, Device
   My physical device Android 4.4.2 (kitkat)
   
   
   ### Version information
   Cordova: 8.1.2 (cordova-lib@8.1.1)
   Ionic: 4.10.3
   Tested on --type="angular" and --type="ionic-angular"
   
   
   ## Checklist
   - [ yes] I searched for existing GitHub issues
   - [yes ] I updated all Cordova tooling to most recent version
   - [yes ] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org