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

Screenshots #8

Open
morenoh149 opened this issue Apr 20, 2015 · 6 comments
Open

Screenshots #8

morenoh149 opened this issue Apr 20, 2015 · 6 comments

Comments

@morenoh149
Copy link

Hello. I'm just starting with this plugin and I think it's working. I'd like to confirm the alarm has been set.
It'd be great if you showed screenshots where I could confirm my alarms have been successfully created.

@morenoh149
Copy link
Author

2015-04-20 16:28:52.967 HelloCordova[27811:3624070] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/harrymoreno/Library/Developer/CoreSimulator/Devices/6E803240-34D5-4A2F-BD68-0634901964C8/data/Containers/Data/Application/A40B1C24-B449-4C9B-8505-C51DCC834057/Library/Cookies/Cookies.binarycookies
2015-04-20 16:28:53.030 HelloCordova[27811:3624070] Apache Cordova native platform version 3.8.0 is starting.
2015-04-20 16:28:53.030 HelloCordova[27811:3624070] Multi-tasking -> Device: YES, App: YES
2015-04-20 16:28:53.032 HelloCordova[27811:3624070] Unlimited access to network resources
2015-04-20 16:28:53.034 HelloCordova[27811:3624070] 

Started backup to iCloud! Please be careful.
Your application might be rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines" at:
https://developer.apple.com/icloud/documentation/data-storage/
To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file

2015-04-20 16:28:53.139 HelloCordova[27811:3624070] Using a WKWebView
2015-04-20 16:28:53.224 HelloCordova[27811:3624070] [CDVTimer][statusbar] 3.452003ms
2015-04-20 16:28:53.224 HelloCordova[27811:3624070] Wakeup Plugin battery status changed
2015-04-20 16:28:53.224 HelloCordova[27811:3624070] Wakeup Plugin initialized
2015-04-20 16:28:53.224 HelloCordova[27811:3624070] [CDVTimer][wakeupplugin] 0.324011ms
2015-04-20 16:28:53.224 HelloCordova[27811:3624070] [CDVTimer][TotalPluginStartup] 4.059970ms
[INFO] GCDWebServer started on port 12344 and reachable at http://10.155.4.240:12344/
2015-04-20 16:28:53.227 HelloCordova[27811:3624070] Started http daemon: http://10.155.4.240:12344/ 
2015-04-20 16:28:54.620 HelloCordova[27811:3624070] current time 4:28pm
2015-04-20 16:28:55.160 HelloCordova[27811:3624070] current time 4:28pm
2015-04-20 16:28:56.999 HelloCordova[27811:3624070] button clicked [object Object] 1429604934614
2015-04-20 16:28:57.001 HelloCordova[27811:3624070] scheduling wakeups...
2015-04-20 16:28:57.021 HelloCordova[27811:3624070] scheduling a new alarm local notification for 2015-04-21 08:28:00 +0000
2015-04-20 16:28:57.023 HelloCordova[27811:3624070] Attempting to schedule a local notification <UIConcreteLocalNotification: 0x7fb6894041a0>{fire date = Tuesday, April 21, 2015 at 1:28:00 AM Pacific Daylight Time, time zone = America/Los_Angeles (PDT) offset -25200 (Daylight), repeat interval = 0, repeat count = UILocalNotificationInfiniteRepeatCount, next fire date = Tuesday, April 21, 2015 at 1:28:00 AM Pacific Daylight Time, user info = {
    "alarm_type" = onetime;
    extra = "{\"message\":\"json containing app-specific information to be posted when alarm triggers\"}";
    type = wakeup;
}} with an alert but haven't received permission from the user to display alerts
2015-04-20 16:28:57.023 HelloCordova[27811:3624070] Attempting to schedule a local notification <UIConcreteLocalNotification: 0x7fb6894041a0>{fire date = Tuesday, April 21, 2015 at 1:28:00 AM Pacific Daylight Time, time zone = America/Los_Angeles (PDT) offset -25200 (Daylight), repeat interval = 0, repeat count = UILocalNotificationInfiniteRepeatCount, next fire date = Tuesday, April 21, 2015 at 1:28:00 AM Pacific Daylight Time, user info = {
    "alarm_type" = onetime;
    extra = "{\"message\":\"json containing app-specific information to be posted when alarm triggers\"}";
    type = wakeup;
}} with a sound but haven't received permission from the user to play sounds
2015-04-20 16:28:57.024 HelloCordova[27811:3624070] setting alarm...
2015-04-20 16:28:57.024 HelloCordova[27811:3624070] THREAD WARNING: ['WakeupPlugin'] took '22.763916' ms. Plugin should use a background thread.
2015-04-20 16:28:57.029 HelloCordova[27811:3624070] success callback
2015-04-20 16:28:57.032 HelloCordova[27811:3624070] success callback
[INFO] GCDWebServer stopped

@bkammin
Copy link
Contributor

bkammin commented Apr 29, 2015

@morenoh149 You can set the notifications permissions/alert style in Settings-Notification Center-AppName.

@morenoh149
Copy link
Author

I don't see notification center under settings
screenshot 2015-04-29 12 56 42

@bkammin
Copy link
Contributor

bkammin commented Apr 29, 2015

It looks like the notification configuration settings don't show up on the
Simulator - try on a device.

On Wed, Apr 29, 2015 at 3:57 PM, Harry Moreno notifications@github.com
wrote:

I don't see notification center under settings
[image: screenshot 2015-04-29 12 56 42]
https://cloud.githubusercontent.com/assets/587438/7400108/4e014d42-ee6f-11e4-80ae-26a54d5cc150.png


Reply to this email directly or view it on GitHub
#8 (comment)
.

@morenoh149
Copy link
Author

do I need to do anything with hasPermission or promptForPermission ? Sadly I don't have an ios device. What's the process for android?

@bkammin
Copy link
Contributor

bkammin commented May 1, 2015

I don't think you need to add any permissions for Android.

http://developer.android.com/reference/android/Manifest.permission.html

On Wed, Apr 29, 2015 at 5:51 PM, Harry Moreno notifications@github.com
wrote:

do I need to do anything with hasPermission or promptForPermission ?
Sadly I don't have an ios device. What's the process for android?


Reply to this email directly or view it on GitHub
#8 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants