A Kinvey starter application built on the Xamarin v3.0 SDK.
Note: This starter app uses the Kinvey Xamarin v3 Library.
- Login a user.
- Save a book and push/pull/sync from Kinvey backend.
- Create an app backend using the console for your application.
- Create a user (with password) using the console for your application.
- Clone the repo.
- Open
KXStarterApp.sln
in Xamarin Studio. - Set either KXStarterApp.iOS or KXStarterApp.Droid as startup project, depending on desired platform.
- Assign the App ID and App Secret from the created backend to the
app_key
andapp_secret
variables inKXStarterAppPage.xaml.cs
. - Assign the username and password of the created user to the
user
andpass
variables inKXStarterAppPage.xaml.cs
. - Build entire solution.
By default, the type of data store created for the books
collection is DataStoreType.SYNC
. In order to demonstrate this sync store capabilities, follow these steps:
- Run app in Xamarin Studio to target desired simulator/emulator.
- Click on the
Add Book
button. - Look at the console data browser and notice that there is no book there.
- Click the
Sync
button - Look again at the data browser in the console, and you should see one book added.
Copyright (c) 2016 Kinvey Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.