Giter Site home page Giter Site logo

tonestro.maui.amplitude.ios's Introduction

Tonestro.Maui.Amplitude.iOS

net7.0-ios Bindings for Amplitude (Website, Setup Instructions)

NuGet Feed

NuGet packages are published on nuget.org.

Versioning Scheme

The versioning scheme of Tonestro.Maui.Amplitude.iOS is derived from the versioning of amplitude/Amplitude-iOS.

Example:

amplitude/Amplitude-iOS Tonestro.Maui.Amplitude.iOS Note
3.4.1 3.4.1.1 First version of bindings for 3.4.1
3.4.1 3.4.1.17 Bindings for 3.4.1 containing fixes

SSL Pinning not supported

This Tonestro.Maui.iOS binding does NOT support certificate pinning which would be enabled by setting AMPLITUDE_SSL_PINNING=1.

This project does not include the ComodoRsaDomainValidationCA.der file in the native library.

Included Frameworks

According to the docs of Amplitude, the frameworks AdSupport.framework and CoreTelephony.framework should be added to enable full support for all Amplitude features.

The native library bound by this binding includes both of them: linked-libs

Troubleshooting

unrecognized selector sent to instance

If initialization crashes and you get errors like [RCPurchases configureSubscriberAttributesManager]: unrecognized selector sent to instance, please adapt your project configuration:

Add -gcc_flags "-ObjC" to the MtouchExtraArgs XML element of your project file. If you want to do the config change using the UI Editor, the change is given below:

troubleshooting-unrecognized-selector

How to bind a new version

This section explains how to create resp. adapt the bindings to bind to a newer version of Amplitude for iOS.

Create xcframework

  1. cd native
  2. Set the desired version of Amplitude for iOS in Cartfile
  3. Execute ./create-xcframework.sh

After these steps, a xcframework was created in native. This xcframework is referenced as NativeReference in Tonestro.Maui.Amplitude.iOS.csproj.

Create C# Bindings using Objective Sharpie

This section describes how to create ApiBindings.cs.

  1. cd native
  2. Execute ./generate-bindings.sh
  3. Copy ApiBindings.cs to ../Tonestro.Maui.Amplitude.iOS

tonestro.maui.amplitude.ios's People

Contributors

thisisthekap avatar

Stargazers

 avatar

Watchers

 avatar

tonestro.maui.amplitude.ios's Issues

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.