couchbaselabs / todolite-phonegap Goto Github PK
View Code? Open in Web Editor NEWBasic todo list app for Couchbase Lite and PhoneGap
Basic todo list app for Couchbase Lite and PhoneGap
The app has been tested with https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin.
See the attached image for the result.
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/icon/ios/icon-50.png
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/icon/ios/icon-76.png
Error: Source path does not exist: www/res/icon/ios/icon-small.png
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/icon/ios/icon.png
Error: Source path does not exist: www/res/icon/ios/[email protected]
Error: Source path does not exist: www/res/screen/ios/Default-568h@2xiphone.pngipad.png
Error: Source path does not exist: www/res/screen/ios/Default-667h.png
Error: Source path does not exist: www/res/screen/ios/Default-736h.png
Error: Source path does not exist: www/res/screen/ios/Default-Landscape-736h.png
Error: Source path does not exist: www/res/screen/ios/Default-Landscape@2x
Error: Source path does not exist: www/res/screen/ios/Default-Landscapeipad.pngipad.png
Error: Source path does not exist: www/res/screen/ios/Default-Portrait@2x
Error: Source path does not exist: www/res/screen/ios/Default-Portraitipad.pngiphone.png
Error: Source path does not exist: www/res/screen/ios/Default@2x
Error: Source path does not exist: www/res/screen/ios/Default~iphone.png
Re-test after these changes have been made:
Keen to see a demo for Titanium of possible. Not sure where else to post this request.
Setup is as follows:
phonegap 6.4.6,
android studio 2.3,
JDK 8,
AVD Nexus 9 api 25
Android 7.1.1 x86,
1.5GB
ls plugins/ android.json cordova-plugin-contacts cordova-plugin-file-transfer cordova-plugin-network-information com.couchbase.lite.phonegap cordova-plugin-device cordova-plugin-geolocation cordova-plugin-splashscreen cordova-plugin-battery-status cordova-plugin-device-motion cordova-plugin-globalization cordova-plugin-statusbar cordova-plugin-camera cordova-plugin-device-orientation cordova-plugin-inappbrowser cordova-plugin-vibration cordova-plugin-compat cordova-plugin-dialogs cordova-plugin-media cordova-plugin-whitelist cordova-plugin-console cordova-plugin-file cordova-plugin-media-capture fetch.json
Plugins show in config.xml (attached)
Run phonegap run android
no errors even with --verbose
After emulator starts I get an alert 'Couchbase Lite not installed'
logcat shows
04-10 15:46:30.155: I/PackageManager.DexOptimizer(1757): Running dexopt (dex2oat) on: /data/app/vmdl493492682.tmp/base.apk pkg=com.couchbase.TodoLite isa=x86 vmSafeMode=false debuggable=true target-filter=interpret-only oatDir = /data/app/vmdl493492682.tmp/oat sharedLibraries=null 04-10 15:46:31.118: W/PackageManager(1757): Unknown permission android.permission.RECORD_VIDEO in package com.couchbase.TodoLite 04-10 15:46:31.162: D/installd(1307): Detected label change from u:object_r:system_data_file:s0 to u:object_r:app_data_file:s0:c512,c768 at /data/data/com.couchbase.TodoLite; running recursive restorecon 04-10 15:46:31.164: D/installd(1307): Detected label change from u:object_r:system_data_file:s0 to u:object_r:app_data_file:s0:c512,c768 at /data/user_de/0/com.couchbase.TodoLite; running recursive restorecon 04-10 15:46:31.177: V/BackupManagerService(1757): restoreAtInstall pkg=com.couchbase.TodoLite token=1 restoreSet=0 04-10 15:46:32.323: I/ActivityManager(1757): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.couchbase.TodoLite/.MainActivity} from uid 2000 on display 0 04-10 15:46:32.402: I/ActivityManager(1757): Start proc 4131:com.couchbase.TodoLite/u0a71 for activity com.couchbase.TodoLite/.MainActivity 04-10 15:46:32.485: W/System(4131): ClassLoader referenced unknown path: /data/app/com.couchbase.TodoLite-1/lib/x86 04-10 15:46:32.977: D/VoldConnector(1757): SND -> {31 volume mkdirs /storage/emulated/0/Android/data/com.couchbase.TodoLite/files/} 04-10 15:46:32.985: D/VoldConnector(1757): SND -> {32 volume mkdirs /storage/09EC-2310/Android/data/com.couchbase.TodoLite/files/} 04-10 15:46:33.470: I/WindowManager(1757): Switching to real app window: Window{e8b4237 u0 com.couchbase.TodoLite/com.couchbase.TodoLite.MainActivity} 04-10 15:46:33.646: I/ActivityManager(1757): Displayed com.couchbase.TodoLite/.MainActivity: +1s261ms 04-10 15:46:38.896: I/UpdateIcingCorporaServi(3434): Updating corpora: APPS=com.couchbase.TodoLite, CONTACTS=MAYBE
I have attached the full log file.
Thank You,
Erik
see the Android and iOS TodoLite repos for examples.
currently it displays all the users. we need a way to limit that scope.
but is this important for a demo app?
Same change as couchbaselabs/ToDoLite-Android@7277ba5
See couchbaselabs/ToDoLite-iOS#42
I didn't actually test, but I'm pretty sure I'd see the same bug on TodoLite-Phonegap
Any plans to implement persona or custom authentication in the TodoLite example app ?
Persona does not have lists of friends to share things with but tasks could be shared by email for persona.
for custom authentication could I just login to my server using coax like this:
var url = REMOTE_LOGIN_URL;
coax.get(url, function(err, data) {
if (err) {return cb(err)}
log("Server Login Data:", data)
cb(false, data)
})
which would set the session cookie for the domain.
Would successive requests to the sync_gateway succeed because the cookie is set?
Any chance you can add a license to this repo so users can re-use the code?
There does not appear to be a way to logout of facebook once logged in.
Platform: Genymotion - Android 4.4.4
CBL PhoneGap plugin version: 1.3.1-10
Steps to reproduce:
Note: By reloading page, all functionalities are functioning.
Note: With current release version (1.3.0), I don't see this issue.
pardon if it overlaps with #3 here it goes
CordovaWebViewClient D onPageFinished(file:///android_asset/www/index.html)
CordovaActivity D onMessage(onPageFinished,file:///android_asset/www/index.html)
D onMessage(spinner,stop)
CordovaNetworkManager D Connection Type: wifi
TilesManager D Starting TG #0, 0x746a5020
D new EGLContext from framework: 746e6230
GLWebViewState D Reinit shader
D Reinit transferQueue
CordovaLog D file:///android_asset/www/js/index.js: Line 541 : getURL
Web Console I getURL at file:///android_asset/www/js/index.js:541
Listener W authHeader is null
W Unauthorized -- requestCredentials not given or do not match allowed credentials
dalvikvm D GC_CONCURRENT freed 632K, 7% free 9513K/10228K, paused 3ms+1ms, total 16ms
D WAIT_FOR_CONCURRENT_GC blocked 14ms
Listener W authHeader is null
W Unauthorized -- requestCredentials not given or do not match allowed credentials
dalvikvm D GC_CONCURRENT freed 104K, 4% free 9918K/10228K, paused 2ms+2ms, total 22ms
D WAIT_FOR_CONCURRENT_GC blocked 4ms
CordovaActivity D onMessage(spinner,stop)
CordovaNetworkManager D Connection Type: none
CordovaActivity D onMessage(networkconnection,none)
CordovaNetworkManager D Connection Type: none
D Connection Type: wifi
CordovaActivity D onMessage(networkconnection,wifi)
CordovaNetworkManager D Connection Type: wifi
....
click ok
....
CordovaLog D file:///android_asset/www/js/index.js: Line 43 : err {}
Web Console I err {} at file:///android_asset/www/js/index.js:43
$ ls plugins/com.couchbase.lite.phonegap/lib/android/
cblite_android_.zip
commons-io-2.0.1.jar
couchbase-lite-android-1.0.0-beta3rc10.jar
couchbase-lite-java-core-1.0.0-beta3rc10.jar
couchbase-lite-java-javascript-1.0.0-beta3rc10.jar
couchbase-lite-java-listener.jar
jackson-core-asl-1.9.2.jar
jackson-mapper-asl-1.9.2.jar
rhino-1.7R3.jar
servlet-2-3.jar
td_collator_so_enhanced.jar
webserver-2-3.jar
...
$ cordova -v
3.4.1-0.1.0
...
$ cd www
$ gitst
...
remote.origin.url=https://github.com/couchbaselabs/TodoLite-PhoneGap.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
commit 3e86235ca40e99eba3786d43df565de3c4b3239d
Author: Chris Anderson <[email protected]>
Date: Mon May 5 15:10:37 2014 -0700
debuggability
lg nexus 4 / android 4.4
AndroidManifest.xml:36:23-37 : AAPT: No resource found that matches the given name (at 'icon' with value '@drawable/icon').
There is a menu that appears on Android before the app is launched, it has Wallpaper as the first item. Why does this happen ? is there any way to get rid of it ?
First I got it running in the emulator. Then I plugged in an iPad Air and got these errors when I ran the code. Any suggestions?
Build target TodoLite
CompileC /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/Objects-normal/arm64/CDVCamera.o TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=6.0 -iquote /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/TodoLite-generated-files.hmap -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/TodoLite-own-target-headers.hmap -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/TodoLite-all-target-headers.hmap -iquote /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/TodoLite-project-headers.hmap -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos/include -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos/usr/local/lib/include -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/UninstalledProducts/include -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/DerivedSources/arm64 -I/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/DerivedSources -F/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos -include /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/PrecompiledHeaders/TodoLite-Prefix-ffscdersqdhnuzejrplbryuutlyw/TodoLite-Prefix.pch -MMD -MT dependencies -MF /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/Objects-normal/arm64/CDVCamera.d --serialize-diagnostics /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/Objects-normal/arm64/CDVCamera.dia -c /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m -o /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/Objects-normal/arm64/CDVCamera.o
/Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:159:34: warning: 'presentModalViewController:animated:' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
[self.viewController presentModalViewController:cameraPicker animated:YES];
^
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:1:
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/TodoLite-Prefix.pch:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:251:1: note: method 'presentModalViewController:animated:' declared here
- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated NS_DEPRECATED_IOS(2_0, 6_0);
^
/Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:270:54: warning: 'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
[[cameraPicker presentingViewController] dismissModalViewControllerAnimated:YES];
^
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:1:
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/TodoLite-Prefix.pch:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:254:1: note: method 'dismissModalViewControllerAnimated:' declared here
- (void)dismissModalViewControllerAnimated:(BOOL)animated NS_DEPRECATED_IOS(2_0, 6_0);
^
/Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:272:50: warning: 'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
[[cameraPicker parentViewController] dismissModalViewControllerAnimated:YES];
^
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:1:
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/TodoLite-Prefix.pch:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:254:1: note: method 'dismissModalViewControllerAnimated:' declared here
- (void)dismissModalViewControllerAnimated:(BOOL)animated NS_DEPRECATED_IOS(2_0, 6_0);
^
/Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:390:50: warning: 'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
[[cameraPicker presentingViewController] dismissModalViewControllerAnimated:YES];
^
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:1:
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/TodoLite-Prefix.pch:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:254:1: note: method 'dismissModalViewControllerAnimated:' declared here
- (void)dismissModalViewControllerAnimated:(BOOL)animated NS_DEPRECATED_IOS(2_0, 6_0);
^
/Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:392:46: warning: 'dismissModalViewControllerAnimated:' is deprecated: first deprecated in iOS 6.0 [-Wdeprecated-declarations]
[[cameraPicker parentViewController] dismissModalViewControllerAnimated:YES];
^
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/org.apache.cordova.camera/CDVCamera.m:1:
In file included from /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/TodoLite-Prefix.pch:25:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:254:1: note: method 'dismissModalViewControllerAnimated:' declared here
- (void)dismissModalViewControllerAnimated:(BOOL)animated NS_DEPRECATED_IOS(2_0, 6_0);
^
5 warnings generated.
Ld /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos/TodoLite.app/TodoLite normal arm64
cd /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos -L/Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/com.couchbase.lite.phonegap -F/Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos -filelist /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/Objects-normal/arm64/TodoLite.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos/libCordova.a -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework AssetsLibrary /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -lCBLJSViewCompiler /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/com.couchbase.lite.phonegap/JavaScriptCore.a /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/com.couchbase.lite.phonegap/CouchbaseLite.a /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/com.couchbase.lite.phonegap/CouchbaseLiteListener.a -weak_framework SystemConfiguration -lsqlite3 -lstdc++ -licucore -lz -framework Security -framework CFNetwork -weak_framework ImageIO -Xlinker -dependency_info -Xlinker /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Intermediates/TodoLite.build/Debug-iphoneos/TodoLite.build/Objects-normal/arm64/TodoLite_dependency_info.dat -o /Users/USERNAME/Library/Developer/Xcode/DerivedData/TodoLite-flxbprwoxbdatbfoffamahrcmrsq/Build/Products/Debug-iphoneos/TodoLite.app/TodoLite
ld: warning: ignoring file /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/com.couchbase.lite.phonegap/JavaScriptCore.a, missing required architecture arm64 in file /Users/USERNAME/Documents/workspace/todo-lite/platforms/ios/TodoLite/Plugins/com.couchbase.lite.phonegap/JavaScriptCore.a (3 slices)
Undefined symbols for architecture arm64:
"_JSValueUnprotect", referenced from:
-[CBLJSFunction dealloc] in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueMakeNumber", referenced from:
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueMakeString", referenced from:
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSObjectCallAsFunction", referenced from:
-[CBLJSFunction call:] in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueMakeBoolean", referenced from:
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueToStringCopy", referenced from:
_WarnJSException in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSObjectMakeFunction", referenced from:
-[CBLJSFunction initWithCompiler:sourceCode:paramNames:] in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueMakeNull", referenced from:
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueProtect", referenced from:
-[CBLJSFunction initWithCompiler:sourceCode:paramNames:] in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSGlobalContextRelease", referenced from:
-[CBLJSCompiler dealloc] in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueMakeFromJSONString", referenced from:
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSObjectMakeFunctionWithCallback", referenced from:
-[CBLJSViewCompiler init] in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
"_JSGlobalContextCreate", referenced from:
-[CBLJSCompiler init] in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueToBoolean", referenced from:
___54-[CBLJSFilterCompiler compileFilterFunction:language:]_block_invoke in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
"_JSStringCopyCFString", referenced from:
_ValueToID in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
_WarnJSException in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSValueCreateJSONString", referenced from:
_ValueToID in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
"_JSValueMakeUndefined", referenced from:
_EmitCallback in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
"_JSStringRelease", referenced from:
-[CBLJSViewCompiler init] in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
_ValueToID in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
-[CBLJSFunction initWithCompiler:sourceCode:paramNames:] in libCBLJSViewCompiler.a(CBLJSFunction.o)
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
"_JSContextGetGlobalObject", referenced from:
-[CBLJSViewCompiler init] in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
"_JSObjectSetProperty", referenced from:
-[CBLJSViewCompiler init] in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
"_JSStringCreateWithCFString", referenced from:
-[CBLJSViewCompiler init] in libCBLJSViewCompiler.a(CBLJSViewCompiler.o)
-[CBLJSFunction initWithCompiler:sourceCode:paramNames:] in libCBLJSViewCompiler.a(CBLJSFunction.o)
_IDToValue in libCBLJSViewCompiler.a(CBLJSFunction.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Images saved from native TodoLite iOS or Android should display in the PhoneGap version.
Hi,
First of all, thank you for contributing for such a great example!
However, when I tried to use it with Android, I encountered a problem. No matter its my local build or PhoneGap Build, when I open this app with either my Samsung I777 or Nexus 7, all I saw is a silver blank screen. Is that this repository is not working for now?
Thanks!
-Shawn
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.