[jira] [Created] (CB-11866) Android clear badge does not work

2016-09-17 Thread Oleg Khorev (JIRA)
Oleg Khorev created CB-11866:


 Summary: Android clear badge does not work
 Key: CB-11866
 URL: https://issues.apache.org/jira/browse/CB-11866
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Oleg Khorev


I was trying the following and badge.clear() works on iOS. Nothing from below 
works on Android

//  cordova.plugins.notification.badge.promptForPermission();
//  cordova.plugins.notification.badge.set(0);
cordova.plugins.notification.badge.clear();

//  var pushNotification = cordova.plugins.notification;
//  pushNotification.setApplicationIconBadgeNumber(successHandler,0);
//  PushNotification.setApplicationIconBadgeNumber(successHandler, 
successHandler2, 0);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-11841) Phonegap on Android - restrict with only certain domain does not work. I use access origin.

2016-09-13 Thread Oleg Khorev (JIRA)
Oleg Khorev created CB-11841:


 Summary: Phonegap on Android - restrict with only certain domain 
does not work. I use access origin.
 Key: CB-11841
 URL: https://issues.apache.org/jira/browse/CB-11841
 Project: Apache Cordova
  Issue Type: Bug
  Security Level: Public (Anyone can view this level - this is the default.)
  Components: Plugin Whitelist
Reporter: Oleg Khorev


I set config.xml
https://github.com/apache/cordova-plugin-whitelist.git"; />
http://domain.net/*"; />
http://domain.net"; browserOnly="true" />
 
 
But App still can open other domains inside App. It works fine on iOS and 
restrict there to only defined domains - so if I click external link nothing 
happens. Only if I click my allowed domain name - it loads. But on Android it 
loads all URLs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org