couchbaselabs / mini-hacks Goto Github PK
View Code? Open in Web Editor NEWA fun and quick way to discover the beauty of Couchbase Mobile in real apps.
Home Page: http://developer.couchbase.com/mobile
License: MIT License
A fun and quick way to discover the beauty of Couchbase Mobile in real apps.
Home Page: http://developer.couchbase.com/mobile
License: MIT License
Cannot resolve symbol NetworkHelper when setting up the Smarthome Login and Signup repo. Where could I get code for this class?
There's a google = require('googleapis')
dependency declared but never used.
It looks like every token received will get a valid session or will be created as a new user, I think there should be a token check against the google api !?
Reading the android README.md, it seems that I should just be able to run after importing the project, but I cannot as of commit ecdcc1.
MainActivity.java has an OOTB syntax error on line 88:
//Step 1 - created 'startCBLite' method
...{
//Step 2 - Get reference to database object
//Step 3 - Create Index to allow for Fast Queries
}
Unless I misunderstand the Setup > Verify step, I think I should be able to run this without changing things.
Mention requirements in the getting started:
eg. Android API keys
At Y-Gen Hackathon, the participant tried to mini-hacks for Android on his Windows platform. Then we spent long time to figure out that we should change platform to "windows".
It is ideal if build tool detects platform and automatically set appropriate platform.
I'm not sure if its due to Swift 1.2 however in step 12 the below code results in "Cannot assign to the result of this expression"
rev["check"] = !wasChecked
I believe rev.properties["check"] = !wasChecked
is either what was meant to be, or now needs to be.
Also in step 13, when properties is declared it needs to be explicitly declared as a Dictionary or by default its created as NSDictionary and requires casting when passed into doc.putProperties
Unclear why am I doing this and where am I suppose to execute this.
You can find the Sync Gateway binary in the bin folder and examples of configuration files in the examples folder. Copy the basic-walrus-bucket.json file to the root of your project:
$ cp /Downloads/couchbase-sync-gateway/examples/basic-walrus-bucket.json /path/to/proj/sync-gateway-config.json
The recent change with adding gradle starting sync-gateway failed when I was running an event where some attendees were trying the Android mini-hack. Users on Windows and Ubuntu couldn't build the project since the sync-gateway built in download/run would fail. I know the build file seems like it shouldn't do this, but it does. Was it tested on those platforms?
I had a reason to add some addtional logging messages, and I found the Log.e() and friends in the MainActivity class, but neither javadoc or code are attached so I'm pretty much guessing at the API. Specifically, the TAG.
This also hampers other grokking of the API, since I can't just hover or command-click on a method to see what it does. For example, I can't click through to see what methods there are on Manager or what overloads of getDatabase() may exist.
I didn't find it here either:
http://developer.couchbase.com/mobile/develop/references/couchbase-lite/couchbase-lite/index.html
I'm not sure how hard it is, but it'd be a useful enhancement to have the javadoc or sources attached. I know this follows the android.util.Log class, but since it's pointing to our own com.couchbase.lite.util, it's up to us to link the javadoc.
Perhaps this is actually a bug? I don't actually see a good reason for us to be using a Couchbase extended class for logging in a sample app over the canonical logging methods.
As a mobile developer, I want to complete a 20-30 mini-hack so that I can quickly understand the central concepts and basic techniques required to build a Couchbase Mobile p2p app.
Requirements:
Issue found in kitchen-sync android version.
While the application opens up and the list items are displayed on the UI.
Say I start with four items in the list (the list in general may have n items).
I select say two items using their respective check boxes, as soon as I long press any other list item and confirm the deletion of the list item by pressing the yes in the dialog box that subsequently appears, all the checked items are unchecked.
Attached below are the snapshots of the issue:-
Thank you. There is no additional log trace generated.
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.