GithubHelp home page GithubHelp logo

localytics-xamarin's Introduction

Localytics Xamarin SDK

This repository contains the open source Xamarin SDK to build the Localytics Xamarin Nuget package (*.nuget). The Localytics Xamarin SDK is a Xamarin wrapper on the native Localytics Android SDK and Localytics iOS SDK. For instruction on how to use the Nuget package, refer to Getting Started

Contents

  • /Localytics-Android-Latest contains the latest Android Release that has been bound to the Xamarin SDK (v6.2.0).
  • /Localytics-iOS-Latest contains the latest iOS Release that has been bound to the Xamarin SDK (v6.0.0).
  • /LocalyticsXamarin contains the entire solution for the Xamarin SDK and sample applications

Building the Nuget Package

This and the following sections are for Developers wishing to contribute to the XamarinSDK. You will need Xcode, and Xamarin Studio (with Android API 19) and java 8.Simply call make VER=0.0.0 release to build. Localytics recommends using the prebuilt nuget package for integrating Localytics in a production app. Instructions can be found at LocalyticsXamarin/LocalyticsXamarin.NuGet/GettingStarted.md

Build

$ cd LocalyticsXamarin
$ make VER=0.0.0 release

Install locally

$ copy the built nuget package to an appropriate folder and add this folder as a nuget source

Projects in LocalyticsXamarin Solution

The /LocalyticsXamarin folder contain a solution that includes projects for the main libraries and sample/test applications.

LocalyticsXamarin Library Projects

LocalyticsXamarin SDK
LocalyticsXamarin.iOS IOS Xamarin SDK Binding project
LocalyticsXamarin.Android Android Xamarin SDK Binding project
LocalyticsXamarin.Shared Shared Project with code shared between Android and IOS Binding Project
LocalyticsXamarin.Common Common Project that allows access of Xamarin SDK from a Shared project using dependency service.

These projects deal with bindings to the respective Localytics native SDK. To change code in the binding, the native SDK needs to be changed first then updated in the Xamarin project.

  • LocalyticsXamarin.Android (Xamarin.Android Library Binding)

    This project mainly derived from going through possible Transform to fix C# vs Java issues that the tools couldn't dealt with automatically.

  • LocalyticsXamarin.iOS for (Xamarin.iOS Unified Library Binding)

    This project mainly derived from generating bindings through Objective Sharpie with subsequent tweaks.

LocalyticsSample Xamarin.Forms Projects

LocalyticsXamarin SDK Sample Sample to verify the Xamarin SDK API
Android Android Platform project
iOS IOS Platform project
  • LocalyticsSample.iOS deals with native setup, mostly in AppDelegate.cs and Info.plist
  • LocalyticsSample.Android deals with native setup, mostly in LocalyticsAutoIntegrateApplication.cs, MainActivity.cs and AndroidManifest.xml

localytics-xamarin's People

Contributors

bigbugbb avatar deronbrown avatar druiz avatar jarrodtaylor avatar kbataran avatar matthewpatey avatar mriegel avatar oliviergauthier avatar salmamyassinn avatar saraoabdelhameed avatar thomasvidas avatar tomcurran 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.