Skip to content

Swrve/swrve-unity-sdk

release-9_0_1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

What is Swrve

Swrve is a single integrated platform delivering everything you need to drive mobile engagement and create valuable consumer relationships on mobile.
This Unity3D SDK will enable your app to use all of these features.

Getting started

Have a look at the quick integration guide at http://docs.swrve.com/developer-documentation/integration/unity/

Requirements

Unity 2020.3+

We require a Unity version higher than 2019.4 to be able to integrate easily.

How to run the demo

  • Open the project 'unity3d' from the repository.
  • Open one of the demo scenes under '/Assets/Swrve/Demo/'
  • Input your appId and apiKey into the scripts 'DemoMinimalIntegration.cs' and 'DemoMessageCenter.cs'.
  • Click the Play button at the top.
  • For the DemoMessaCenter it will show a list of your campaigns that you created in the dashboard under the "Set Display Triggers" section with checkbox "Include this message in the Message Center".

How to build the SDK

  • Open the project 'unity3d' from the repository.
  • Click on the menu 'Swrve Demo / Export unityPackage'. This will generate a unityPackage that you can include in your project.

Support multiple Firebase providers

Contributing

We would love to see your contributions! Follow these steps:

  1. Fork this repository.
  2. Create a branch (git checkout -b my_awesome_feature)
  3. Commit your changes (git commit -m "Awesome feature")
  4. Push to the branch (git push origin my_awesome_feature)
  5. Open a Pull Request.

License

© Copyright Swrve Mobile Inc or its licensors. Distributed under the Apache 2.0 License.
Google Play Services Library Copyright © 2012 The Android Open Source Project. Licensed under the Apache 2.0 License.
SharpZipLib Copyright © David Pierson, Mike Krueger. Distributed under the GPL License with the GPL Classpath exception.