Coder Social home page Coder Social logo

vgs-collect-android-xamarin-demo's Introduction

license

VGS Collect SDK. Xamarin Demo.

Binding library for VGS Collect Android SDK

NOTE: This demo is just an example of how VGS Collect SDK can be integrated into your application.

How to run it?

Step 1

Go to your VGS organization and establish Inbound connection. For this demo you can import pre-built route configuration:

  • Find the configuration.yaml file inside the app repository and download it.
  • Go to the Routes section on the Dashboard page and select the Inbound tab.
  • Press Manage button at the right corner and select Import YAML file.
  • Choose configuration.yaml file that you just downloaded and tap on Save button to save the route.

Step 2

git clone [email protected]:vgs-samples/vgs-collect-android-xamarin-demo.git

Step 3

  • VGSCollectBindingLibrary - Android Binding Library
  • AndroidSample - Sample of the Xamarin Android project with VGS collect library integrated

Dependencies

VGSCollectBindingLibrary

  • Xamarin.Kotlin.StdLib 1.3.50.1
  • Xamarin.AndroidX.AppCompat 1.1.0
  • Square.OkHttp3 4.2.2
  • Xamarin.Kotlin.StdLib.Jdk8 1.3.50.1

AndroidSample

  • Xamarin.Android.Support.Design 28.0.0.3
  • Xamarin.AndroidX.AppCompat 1.1.0
  • Xamarin.AndroidX.Legacy.Support.Core.UI 1.0.0
  • Xamarin.AndroidX.Lifecycle.LiveData 2.2.0
  • Xamarin.Google.Android.Material 1.1.0-rc3
  • Xamarin.Kotlin.StdLib 1.3.50.1
  • Xamarin.Android.Support.Annotations 28.0.0.3
  • Square.OkHttp3 4.2.2
  • Xamarin.Kotlin.StdLib.Jdk8 1.3.50.1

Step 4

Setup "<VAULT_ID>".

Find MainActivity.cs and replace VAULT_ID constant with your vault id.

Step 5

How to integrate compiled library

  1. In the target Xamarin Android project right click on References
  2. Add Reference
  3. Switch to .Net Assembly tab
  4. Choose compiled dll from the file system

Step 6

  1. Open Visual Studio
  2. Choose configuration
  3. Run build
  4. It may be needed to install required Android SDK

Compiled library Build also available under {Project_root}/dll folder

Step 7

Submit and reveal the form then go to the Logs tab on a Dashboard find a request and secure a payload. Instruction for this step you can find here.

License

VGS Collect Android SDK is released under the MIT license. See LICENSE for details.

vgs-collect-android-xamarin-demo's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.