Skip to content

Instantly share code, notes, and snippets.

View npomfret's full-sized avatar

Nick Pomfret npomfret

View GitHub Profile
'use strict';
import PushNotification from "react-native-push-notification";
let _pushNotificationToken = null;
const _pushNotificationListeners = [];
function init() {
console.log("PushNotification init");
function (newDoc, oldDoc) {
if (oldDoc && oldDoc._deleted) {
throw({forbidden: "Attempt to edit a deleted doc"});
}
if (oldDoc) {
var previousOwners = [];
if (oldDoc.owners) {
objc[43902]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x1172b9910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x1170e3210). One of the two will be used. Which one is undefined.
2016-10-25 12:48:31.008 [info][tid:main][RCTBatchedBridge.m:74] Initializing <RCTBatchedBridge: 0x60000019d8e0> (parent: <RCTBridge: 0x6000002a03c0>, executor: RCTJSCExecutor)
2016-10-25 12:48:31.114 pomochat[43902:41909958] [Crashlytics] Version 3.8.2 (118)
2016-10-25 12:48:31.366 pomochat[43902:41909958] Error: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo={NSLocalizedDescription=remote notifications are not suppor
This file has been truncated, but you can view the full file.
{"results":[
{"seq":"89902:89884","id":"14c8b9e9069c8393089e8fc3d4474f6b","removed":["ch_private_6ff22496-9fc0-47d6-8185-221ea4d903aa"],"changes":[{"rev":"8-1b7b3369807a34c668a908e2ae093ab6"}]}
,{"seq":"89902:89889","id":"6cd89a27f6c6ab39a77d8c0bc0602d18","removed":["ch_private_6ff22496-9fc0-47d6-8185-221ea4d903aa"],"changes":[{"rev":"21-86ec87de2b4a80844a6ce495cb4ba116"}]}
,{"seq":"89902:89891","id":"85f3dbeb6f080c10d0b94a61e781163c","removed":["ch_private_6ff22496-9fc0-47d6-8185-221ea4d903aa"],"changes":[{"rev":"14-af43138e263c2fc902e18803dc889de3"}]}
,{"seq":"89902:89893","id":"a20c0366d433ffed3f5ba0fc6e4a5ee6","removed":["ch_private_6ff22496-9fc0-47d6-8185-221ea4d903aa"],"changes":[{"rev":"269-0bc1b54ebd4f50c5bf57a201c44216af"}]}
,{"seq":"89902:89895","id":"d49daa32f8dc9ca41e20e043a79410aa","removed":["ch_private_6ff22496-9fc0-47d6-8185-221ea4d903aa"],"changes":[{"rev":"12-bb424167a9ca991670abbdd6687ddbd7"}]}
,{"seq":"89902:89897","id":"f962ac44a0f71b2420e30188adc67f16","removed":["ch_private_6ff22496-9fc
17:33:37.431351 2016-09-28T17:33:37.431+01:00 CRUD+: Invoking sync on doc "a6cc45e0-b441-4170-83b2-9632194bec55" rev 1-25004298bb0c260871cbc933ffb7203d
19:30:26.431351 2016-09-28T19:30:26.431+01:00 Cache+: Pruned 1 old entries from channel "*"
20:53:48.431351 2016-09-28T20:53:48.431+01:00 CRUD+: Saving old revision "afd34c88-2c16-4ca6-9aad-91c6b388dc10" / "3-172f3525efad0a4d1ca50a0e241577a4" (607 bytes)
13:09:37.431351 2016-09-30T13:09:37.431+01:00 HTTP+: #9539: --> 201 (1.0 ms)
10:56:39.431351 2016-10-04T10:56:39.431+01:00 Events+: Webhook handler ran for event. Payload posted to URL http://192.168.1.64:8088/pomochat/webhook, got status 200 OK
00:30:41.431351 2016-10-29T00:30:41.431+01:00 Cache: #403651 ==> channel "ch_private_6ff22496-9fc0-47d6-8185-221ea4d903aa"
09:56:36.431351 2016-11-05T09:56:36.431Z HTTP: #184858: GET /sync_gateway/ea669f1e-5509-427c-b700-f1484056bf55 (as admin)
09:10:04.431351 2016-11-06T09:10:04.431Z Changes+: Sending seq:285854 from channel *
11:06:44.431351 2016-11-06T
01-18 12:25:06.989 2115-2342/? E/Watchdog: !@Sync 304
01-18 12:25:07.109 2115-2184/? I/InputReader: Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.196 ]
01-18 12:25:07.109 2115-2183/? I/InputDispatcher: Delivering touch to current input target: action: 0x0
01-18 12:25:07.109 2115-2183/? I/InputDispatcher: Delivering touch to current input target: action: 0x0
01-18 12:25:07.114 2115-2183/? I/InputDispatcher: Delivering touch to current input target: action: 0x0
01-18 12:25:07.114 2115-2183/? I/InputDispatcher: Delivering touch to current input target: action: 0x0
01-18 12:25:07.154 2392-2392/? I/TwDVFSBroadcastReceiver: onLauncherIntent
01-18 12:25:07.154 2392-2392/? D/PowerManager: DVFSLock : acquire : timeout : 1000
01-18 12:25:07.159 2115-2847/? I/power: *** acquire_dvfs_lock : lockType : 1 freq : 1200000