Coder Social home page Coder Social logo

charles-bruel / unity.library.eppz.deeplink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geri-borbas/unity.library.eppz.deeplink

0.0 0.0 0.0 151 KB

 Deep linking native iOS plugin for Unity. With deep link callbacks on app launch as well.

License: Other

Objective-C 65.61% C# 29.50% Objective-C++ 4.89%

unity.library.eppz.deeplink's Introduction

eppz.DeepLink Build Status

part of Unity.Library.eppz

 Deep linking native iOS plugin for Unity. With deep link callbacks on app launch as well.

Simple usage

// Just provide a lambda.
DeepLink.OnOpenURL((string URL, string sourceApplicationBundleID) =>
{
    // Do something useful with `URL` (and `sourceApplicationBundleID`).
});

This action will be called even when the app has launched via deep linking (on the first Update() of the plugin class).

The deep link information will be picked up from both application:didFinishLaunchingWithOptions:, application:openURL:options: (iOS 9.0 and above) and application:openURL:sourceApplication:annotation: (from iOS 4.2 to iOS 9.0).

Sandbox

You can simulate the callback in the Unity Editor, when you simply put some values into the Sandbox properties at the DeepLink inspector. Please note that if a notification is available (an URL value is present), it gets consumed on the next Update(), the values from the Sandbox properties disappear (this simulates the polling of the native iOS plugin). You can either paste values to the inspector, or disable DeepLink component / pause the game while typing.

License

Licensed under the MIT license.

unity.library.eppz.deeplink's People

Contributors

geri-borbas avatar charles-bruel 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.