wnyc / cordova-plugin-wakeuptimer

Cordova plugin for a wakeup alarm clock
90 stars 111 forks source link

Screenshots #8

Open morenoh149 opened 9 years ago

morenoh149 commented 9 years ago

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 commented 9 years ago
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 commented 9 years ago

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

morenoh149 commented 9 years ago

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

bkammin commented 9 years ago

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 https://github.com/wnyc/cordova-plugin-wakeuptimer/issues/8#issuecomment-97563189 .

morenoh149 commented 9 years ago

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 commented 9 years ago

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 https://github.com/wnyc/cordova-plugin-wakeuptimer/issues/8#issuecomment-97598323 .