spareio / spyn-sdk Goto Github PK
View Code? Open in Web Editor NEWSpyn Android SDK
Home Page: https://spare.io/
Spyn Android SDK
Home Page: https://spare.io/
If work is minimal, support overriding the default locale by the partner in the sdk call.
Using iso 639 for lang format:
https://developer.android.com/reference/java/util/Locale
Must send local is done via the HTTP header on every request
HTTP HEADER => “Accept-Language”
VALUE => "en"
Remove the volley dependancy for making web requests, to minimize partner app dependancies.
Must be able to initialize the SDK in the main Activity with element builder
https://developer.android.com/reference/android/renderscript/Element.Builder
sample code
spyn = SpynSdk.builder()
.setDealId("123123123")
.setAppIcon(<APP ICON ASSET>)
.build();
@jaythe20 thoughts on this?
spy.status should return an ENUM with one of the following Values
SpynSdk.status.READY
SpynSdk.status.ACTIVE_WITH_LAUNCHER
SpynSdk.status.ACTIVE_WITHOUT_LAUNCHER
SpynSdk.status.REJECTED
The use should have the ability to download the SDK from gradle or Maven
compile "com.spyn:spyn-android-sdk:1.0.0"
or
<dependency>
<groupId>com.spyn</groupId>
<artifactId>spyn-android-sdk</artifactId>
<version>1.0.0</version>
</dependency>
Fetch the deal information via the API - endpoint. If the local variable is set in the header as per issue #4 you should be able to retrieve all the appropriate key-value strings
Let's double check the SDK-native views and makes sure they render properly on all device screen sizes (ratio, resolution and dpi variants).
Read icon resource from the current package when displaying the interstitial's partner app icon.
Currently it is a hard-coded asset.
If cannot access the app icon from the manifest, the dev must have the ability to add in on initialization. view issue #8
When showing spyn offer to the user (by interstitial, or by the partner's own call to action) there should be an event sent to spyn backend which registers this "display" of the offer. Optional parameter should be campaign ID and Placement ID (placement ID is where the offer was shown, in the case of an play store salvage, we could specify this as the placement and send the event).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.