// * v1.4 May 30, 2015
Origin
------------------------
Granted, bits and snippets of code from here or there were used, but for the most part, this is original. I mean, come on. It’s a splash screen; how hard can it be?
Summary
------------------------
This Screen presents a EULA to the user on startup. You can choose persistence. User must acknowledge EULA to proceed. User can email EULA.
Android is a little quirky; a data refresh doesn't reload the splash screen, regardless of setting. Nothing I can do about that.
In a nutshell, it's an HTML page displayed in a controlled splash. Don't want a Eula? Fine. Use it for something else. But the behavior stays the same.
Release History
------------------------
v1.0 November 18th 2013
------------------------
1) Initial Release
v1.1 - Aug 29th, 2014
------------------------
1) Cleaned up code for iOS
2) Added Android capability
v1.2 - October 9th 2014
------------------------
1) corrected appDelegate Syntax
v1.3 - February 25th 2015
------------------------
1) corrected errant application email subject line in iOS
v1.4 - May 30th 2015
------------------------
1) Removed Xib files and added code to accomodate all device sizes.
2) Removed Checkbox and now require user to scroll completely through the HTML before the button enables.
iOS
-----------------
sw_defaulteula.css
sw_defaulteula.html
sw_eula_envelope.png
[email protected]SW_SmugEula.h
SW_SmugEula.m
Android
-----------------
SW_SmugEula.java
sw_smugeula.xml
sw_eula_strings.xml
sw_eula_envelope.png
sw_eulabackground.png
sw_defaulteula.css
sw_defaulteula.html
JSON Data
-----------------
Most folks use the control panel to configure the JSON data for this plugin but it's useful to see what it may look like. This is the simplest example.
{
"navBarTitleText": "Eula Splash",
"backgroundImageNameSmallDevice": "sw_eulabackground.png",
"backgroundImageNameLargeDevice": "sw_eulabackground.png",
"localFileName": "sw_defaulteula.html",
"eulaPersistance": "1",
"buttonText": "I accept the terms"
}