From c1b2dc1c3776381e018f9924e606a0440b3d6834 Mon Sep 17 00:00:00 2001 From: Ville Orkas Date: Wed, 1 Jun 2016 19:26:46 +0300 Subject: [PATCH] Version 2.0.0-beta1 --- LICENSE | 202 ++++ Makefile | 64 ++ README.md | 15 + app/.gitignore | 1 + app/build.gradle | 27 + app/proguard-rules.pro | 17 + app/src/main/AndroidManifest.xml | 21 + app/src/main/ic_launcher-web.png | Bin 0 -> 13505 bytes .../unity3d/ads/example/UnityAdsExample.java | 225 +++++ .../drawable/unityads_example_background.xml | 4 + .../res/layout/unityads_example_layout.xml | 126 +++ app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 5120 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2609 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 8076 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 9571 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 7840 bytes app/src/main/res/values/strings.xml | 6 + app/src/main/res/values/styles.xml | 8 + build.gradle | 22 + gradle.properties | 18 + gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 49896 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 164 +++ gradlew.bat | 90 ++ lib/.gitignore | 1 + lib/build.gradle | 100 ++ lib/proguard-rules.pro | 15 + lib/src/androidTest/AndroidManifest.xml | 23 + .../ads/test/EnvironmentTestSuite.java | 12 + .../com/unity3d/ads/test/HybridTestSuite.java | 12 + .../ads/test/IntegrationTestSuite.java | 12 + .../com/unity3d/ads/test/TestUtilities.java | 63 ++ .../com/unity3d/ads/test/UnitTestSuite.java | 36 + .../ads/test/environment/EnvironmentTest.java | 114 +++ .../unity3d/ads/test/hybrid/HybridTest.java | 94 ++ .../ads/test/hybrid/HybridTestActivity.java | 9 + .../ads/test/integration/IntegrationTest.java | 161 +++ .../integration/IntegrationTestActivity.java | 14 + .../ads/test/unit/AdUnitActivityTest.java | 607 +++++++++++ .../test/unit/AdvertisingIdentifierTest.java | 35 + .../unity3d/ads/test/unit/BroadcastTest.java | 209 ++++ .../com/unity3d/ads/test/unit/CacheTest.java | 660 ++++++++++++ .../ads/test/unit/ClientPropertiesTest.java | 99 ++ .../ads/test/unit/ConnectivityTest.java | 148 +++ .../com/unity3d/ads/test/unit/DeviceTest.java | 138 +++ .../ads/test/unit/EnvironmentCheckTest.java | 24 + .../unity3d/ads/test/unit/EventIdTest.java | 45 + .../ads/test/unit/InitializeThreadTest.java | 188 ++++ .../unity3d/ads/test/unit/InvocationTest.java | 188 ++++ .../unity3d/ads/test/unit/MetaDataTest.java | 125 +++ .../ads/test/unit/NativeCallbackTest.java | 107 ++ .../ads/test/unit/PackageManagerTest.java | 52 + .../unity3d/ads/test/unit/PlacementTest.java | 227 +++++ .../unity3d/ads/test/unit/PublicApiTest.java | 41 + .../unity3d/ads/test/unit/RequestTest.java | 550 ++++++++++ .../ads/test/unit/SdkPropertiesTest.java | 107 ++ .../ads/test/unit/StorageDiskTest.java | 208 ++++ .../ads/test/unit/StorageGeneralTest.java | 134 +++ .../ads/test/unit/StorageMemoryTest.java | 151 +++ .../unity3d/ads/test/unit/VideoViewTest.java | 954 ++++++++++++++++++ .../unity3d/ads/test/unit/WebRequestTest.java | 373 +++++++ .../unity3d/ads/test/unit/WebViewAppTest.java | 479 +++++++++ .../test/unit/WebViewBridgeInterfaceTest.java | 222 ++++ .../ads/test/unit/WebViewBridgeTest.java | 401 ++++++++ .../ads/test/unit/WebViewCallbackTest.java | 36 + lib/src/main/AndroidManifest.xml | 21 + .../com/unity3d/ads/IUnityAdsListener.java | 40 + .../main/java/com/unity3d/ads/UnityAds.java | 345 +++++++ .../unity3d/ads/adunit/AdUnitActivity.java | 292 ++++++ .../com/unity3d/ads/adunit/AdUnitError.java | 11 + .../com/unity3d/ads/adunit/AdUnitEvent.java | 13 + .../com/unity3d/ads/adunit/AdUnitOpen.java | 30 + .../ads/adunit/AdUnitSoftwareActivity.java | 6 + .../main/java/com/unity3d/ads/api/AdUnit.java | 249 +++++ .../java/com/unity3d/ads/api/Broadcast.java | 46 + .../main/java/com/unity3d/ads/api/Cache.java | 181 ++++ .../com/unity3d/ads/api/Connectivity.java | 15 + .../java/com/unity3d/ads/api/DeviceInfo.java | 268 +++++ .../main/java/com/unity3d/ads/api/Intent.java | 156 +++ .../java/com/unity3d/ads/api/Listener.java | 60 ++ .../java/com/unity3d/ads/api/Placement.java | 95 ++ .../java/com/unity3d/ads/api/Request.java | 189 ++++ .../java/com/unity3d/ads/api/Resolve.java | 41 + .../main/java/com/unity3d/ads/api/Sdk.java | 90 ++ .../java/com/unity3d/ads/api/Storage.java | 174 ++++ .../java/com/unity3d/ads/api/VideoPlayer.java | 206 ++++ .../unity3d/ads/broadcast/BroadcastError.java | 5 + .../unity3d/ads/broadcast/BroadcastEvent.java | 5 + .../ads/broadcast/BroadcastEventReceiver.java | 57 ++ .../ads/broadcast/BroadcastMonitor.java | 51 + .../com/unity3d/ads/cache/CacheError.java | 10 + .../com/unity3d/ads/cache/CacheEvent.java | 9 + .../com/unity3d/ads/cache/CacheThread.java | 107 ++ .../unity3d/ads/cache/CacheThreadHandler.java | 175 ++++ .../ads/configuration/Configuration.java | 102 ++ .../configuration/ConfigurationFailure.java | 5 + .../ads/configuration/EnvironmentCheck.java | 59 ++ .../ads/configuration/InitializeThread.java | 383 +++++++ .../ConnectivityChangeReceiver.java | 46 + .../ads/connectivity/ConnectivityEvent.java | 5 + .../ads/connectivity/ConnectivityMonitor.java | 214 ++++ .../ConnectivityNetworkCallback.java | 55 + .../connectivity/IConnectivityListener.java | 6 + .../com/unity3d/ads/device/AdvertisingId.java | 183 ++++ .../java/com/unity3d/ads/device/Device.java | 413 ++++++++ .../com/unity3d/ads/device/DeviceError.java | 8 + .../java/com/unity3d/ads/device/Storage.java | 285 ++++++ .../com/unity3d/ads/device/StorageError.java | 10 + .../com/unity3d/ads/device/StorageEvent.java | 10 + .../unity3d/ads/device/StorageManager.java | 103 ++ .../java/com/unity3d/ads/log/DeviceLog.java | 242 +++++ .../com/unity3d/ads/log/DeviceLogEntry.java | 38 + .../com/unity3d/ads/log/DeviceLogLevel.java | 19 + .../ads/metadata/MediationMetaData.java | 26 + .../com/unity3d/ads/metadata/MetaData.java | 63 ++ .../unity3d/ads/metadata/PlayerMetaData.java | 16 + .../java/com/unity3d/ads/misc/Utilities.java | 175 ++++ .../com/unity3d/ads/misc/ViewUtilities.java | 41 + .../ads/properties/ClientProperties.java | 125 +++ .../unity3d/ads/properties/SdkProperties.java | 134 +++ .../ads/request/IResolveHostListener.java | 6 + .../ads/request/IWebRequestListener.java | 9 + .../request/IWebRequestProgressListener.java | 9 + .../unity3d/ads/request/ResolveHostError.java | 8 + .../unity3d/ads/request/ResolveHostEvent.java | 6 + .../com/unity3d/ads/request/WebRequest.java | 226 +++++ .../unity3d/ads/request/WebRequestError.java | 5 + .../unity3d/ads/request/WebRequestEvent.java | 6 + .../ads/request/WebRequestHandler.java | 109 ++ .../ads/request/WebRequestResultReceiver.java | 67 ++ .../unity3d/ads/request/WebRequestThread.java | 139 +++ .../unity3d/ads/video/VideoPlayerError.java | 7 + .../unity3d/ads/video/VideoPlayerEvent.java | 17 + .../unity3d/ads/video/VideoPlayerView.java | 194 ++++ .../java/com/unity3d/ads/webview/WebView.java | 126 +++ .../com/unity3d/ads/webview/WebViewApp.java | 332 ++++++ .../ads/webview/WebViewEventCategory.java | 12 + .../ads/webview/bridge/CallbackStatus.java | 6 + .../ads/webview/bridge/Invocation.java | 89 ++ .../ads/webview/bridge/NativeCallback.java | 51 + .../ads/webview/bridge/WebViewBridge.java | 139 +++ .../webview/bridge/WebViewBridgeError.java | 14 + .../bridge/WebViewBridgeInterface.java | 59 ++ .../ads/webview/bridge/WebViewCallback.java | 86 ++ .../ads/webview/bridge/WebViewExposed.java | 12 + .../unityads/test/unit/UtilitiesTest.java | 14 + settings.gradle | 1 + test_server/.gitignore | 3 + test_server/Dockerfile | 7 + test_server/app.js | 25 + test_server/build_and_upgrade_testserver.sh | 9 + test_server/package.json | 10 + test_server/static/blue_test_trailer.mp4 | Bin 0 -> 134924 bytes test_server/static/google.png | Bin 0 -> 13504 bytes test_server/static/testconfig.json | 1 + test_server/static/testwebapp.html | 1 + testdroid/run-testdroid-tests.sh | 79 ++ testdroid/run-tests.sh | 112 ++ unity-ads-android.iml | 19 + 159 files changed, 15918 insertions(+) create mode 100644 LICENSE create mode 100644 Makefile create mode 100644 README.md create mode 100644 app/.gitignore create mode 100644 app/build.gradle create mode 100644 app/proguard-rules.pro create mode 100644 app/src/main/AndroidManifest.xml create mode 100644 app/src/main/ic_launcher-web.png create mode 100644 app/src/main/java/com/unity3d/ads/example/UnityAdsExample.java create mode 100644 app/src/main/res/drawable/unityads_example_background.xml create mode 100644 app/src/main/res/layout/unityads_example_layout.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 app/src/main/res/values/strings.xml create mode 100644 app/src/main/res/values/styles.xml create mode 100644 build.gradle create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat create mode 100644 lib/.gitignore create mode 100644 lib/build.gradle create mode 100644 lib/proguard-rules.pro create mode 100644 lib/src/androidTest/AndroidManifest.xml create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/EnvironmentTestSuite.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/HybridTestSuite.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/IntegrationTestSuite.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/TestUtilities.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/UnitTestSuite.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/environment/EnvironmentTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/hybrid/HybridTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/hybrid/HybridTestActivity.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/integration/IntegrationTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/integration/IntegrationTestActivity.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/AdUnitActivityTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/AdvertisingIdentifierTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/BroadcastTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/CacheTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/ClientPropertiesTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/ConnectivityTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/DeviceTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/EnvironmentCheckTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/EventIdTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/InitializeThreadTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/InvocationTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/MetaDataTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/NativeCallbackTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/PackageManagerTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/PlacementTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/PublicApiTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/RequestTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/SdkPropertiesTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/StorageDiskTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/StorageGeneralTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/StorageMemoryTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/VideoViewTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/WebRequestTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/WebViewAppTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/WebViewBridgeInterfaceTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/WebViewBridgeTest.java create mode 100644 lib/src/androidTest/java/com/unity3d/ads/test/unit/WebViewCallbackTest.java create mode 100644 lib/src/main/AndroidManifest.xml create mode 100644 lib/src/main/java/com/unity3d/ads/IUnityAdsListener.java create mode 100644 lib/src/main/java/com/unity3d/ads/UnityAds.java create mode 100644 lib/src/main/java/com/unity3d/ads/adunit/AdUnitActivity.java create mode 100644 lib/src/main/java/com/unity3d/ads/adunit/AdUnitError.java create mode 100644 lib/src/main/java/com/unity3d/ads/adunit/AdUnitEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/adunit/AdUnitOpen.java create mode 100644 lib/src/main/java/com/unity3d/ads/adunit/AdUnitSoftwareActivity.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/AdUnit.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Broadcast.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Cache.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Connectivity.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/DeviceInfo.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Intent.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Listener.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Placement.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Request.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Resolve.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Sdk.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/Storage.java create mode 100644 lib/src/main/java/com/unity3d/ads/api/VideoPlayer.java create mode 100644 lib/src/main/java/com/unity3d/ads/broadcast/BroadcastError.java create mode 100644 lib/src/main/java/com/unity3d/ads/broadcast/BroadcastEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/broadcast/BroadcastEventReceiver.java create mode 100644 lib/src/main/java/com/unity3d/ads/broadcast/BroadcastMonitor.java create mode 100644 lib/src/main/java/com/unity3d/ads/cache/CacheError.java create mode 100644 lib/src/main/java/com/unity3d/ads/cache/CacheEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/cache/CacheThread.java create mode 100644 lib/src/main/java/com/unity3d/ads/cache/CacheThreadHandler.java create mode 100644 lib/src/main/java/com/unity3d/ads/configuration/Configuration.java create mode 100644 lib/src/main/java/com/unity3d/ads/configuration/ConfigurationFailure.java create mode 100644 lib/src/main/java/com/unity3d/ads/configuration/EnvironmentCheck.java create mode 100644 lib/src/main/java/com/unity3d/ads/configuration/InitializeThread.java create mode 100644 lib/src/main/java/com/unity3d/ads/connectivity/ConnectivityChangeReceiver.java create mode 100644 lib/src/main/java/com/unity3d/ads/connectivity/ConnectivityEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/connectivity/ConnectivityMonitor.java create mode 100644 lib/src/main/java/com/unity3d/ads/connectivity/ConnectivityNetworkCallback.java create mode 100644 lib/src/main/java/com/unity3d/ads/connectivity/IConnectivityListener.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/AdvertisingId.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/Device.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/DeviceError.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/Storage.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/StorageError.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/StorageEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/device/StorageManager.java create mode 100644 lib/src/main/java/com/unity3d/ads/log/DeviceLog.java create mode 100644 lib/src/main/java/com/unity3d/ads/log/DeviceLogEntry.java create mode 100644 lib/src/main/java/com/unity3d/ads/log/DeviceLogLevel.java create mode 100644 lib/src/main/java/com/unity3d/ads/metadata/MediationMetaData.java create mode 100644 lib/src/main/java/com/unity3d/ads/metadata/MetaData.java create mode 100644 lib/src/main/java/com/unity3d/ads/metadata/PlayerMetaData.java create mode 100644 lib/src/main/java/com/unity3d/ads/misc/Utilities.java create mode 100644 lib/src/main/java/com/unity3d/ads/misc/ViewUtilities.java create mode 100644 lib/src/main/java/com/unity3d/ads/properties/ClientProperties.java create mode 100644 lib/src/main/java/com/unity3d/ads/properties/SdkProperties.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/IResolveHostListener.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/IWebRequestListener.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/IWebRequestProgressListener.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/ResolveHostError.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/ResolveHostEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/WebRequest.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/WebRequestError.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/WebRequestEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/WebRequestHandler.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/WebRequestResultReceiver.java create mode 100644 lib/src/main/java/com/unity3d/ads/request/WebRequestThread.java create mode 100644 lib/src/main/java/com/unity3d/ads/video/VideoPlayerError.java create mode 100644 lib/src/main/java/com/unity3d/ads/video/VideoPlayerEvent.java create mode 100644 lib/src/main/java/com/unity3d/ads/video/VideoPlayerView.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/WebView.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/WebViewApp.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/WebViewEventCategory.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/CallbackStatus.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/Invocation.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/NativeCallback.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/WebViewBridge.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/WebViewBridgeError.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/WebViewBridgeInterface.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/WebViewCallback.java create mode 100644 lib/src/main/java/com/unity3d/ads/webview/bridge/WebViewExposed.java create mode 100644 lib/src/test/java/com/unity3d/unityads/test/unit/UtilitiesTest.java create mode 100644 settings.gradle create mode 100644 test_server/.gitignore create mode 100644 test_server/Dockerfile create mode 100644 test_server/app.js create mode 100755 test_server/build_and_upgrade_testserver.sh create mode 100644 test_server/package.json create mode 100644 test_server/static/blue_test_trailer.mp4 create mode 100644 test_server/static/google.png create mode 100644 test_server/static/testconfig.json create mode 100644 test_server/static/testwebapp.html create mode 100755 testdroid/run-testdroid-tests.sh create mode 100755 testdroid/run-tests.sh create mode 100644 unity-ads-android.iml diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..8f71f43f --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..ab74a223 --- /dev/null +++ b/Makefile @@ -0,0 +1,64 @@ +release: + ./gradlew :lib:assembleRelease + +clean: + ./gradlew :lib:clean + +test: push-test-server-address start-test-server exec-tests stop-test-server + +test-unit-tests: push-test-server-address start-test-server exec-unit-tests stop-test-server + +build-test-apk: clean + ./gradlew :lib:assembleAndroidTest --full-stacktrace + +test-emulator: start-test-server exec-tests stop-test-server + +test-hosted: push-test-server-address-hosted exec-tests + +test-usb: push-test-server-address-local setup-adb-reverse start-test-server exec-only-unit-tests stop-test-server dismantle-adb-reverse + +exec-tests: exec-unit-tests exec-hybrid-tests exec-integration-tests + +exec-unit-tests: clean + adb shell input keyevent 82 + ./gradlew :lib:connectedCheck --full-stacktrace -Pandroid.testInstrumentationRunnerArguments.class=com.unity3d.ads.test.UnitTestSuite + +exec-hybrid-tests: clean + adb shell input keyevent 82 + ./gradlew :lib:connectedCheck --full-stacktrace -Pandroid.testInstrumentationRunnerArguments.class=com.unity3d.ads.test.HybridTestSuite + +exec-integration-tests: clean + adb shell input keyevent 82 + ./gradlew :lib:connectedCheck --full-stacktrace -Pandroid.testInstrumentationRunnerArguments.class=com.unity3d.ads.test.IntegrationTestSuite + +push-test-server-address: + echo http://$(shell ifconfig |grep "inet" |grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" |grep -v -E "^0|^127" -m 1):8080 > testServerAddress.txt + adb push testServerAddress.txt /data/local/tmp + +push-test-server-address-hosted: + echo "http://terminal.applifier.info:18080" > testServerAddress.txt + adb push testServerAddress.txt /data/local/tmp + +push-test-server-address-local: + echo "http://localhost:8080" > testServerAddress.txt + adb push testServerAddress.txt /data/local/tmp + +setup-adb-reverse: + adb reverse tcp:8080 tcp:8080 + +dismantle-adb-reverse: + adb reverse --remove-all + +start-test-server: + cd test_server && npm install + cd test_server && node app.js & + +stop-test-server: + cd test_server && cat access.log + cd test_server && kill `cat process.pid` && rm process.pid + +sonar: + ./gradlew sonarqube --info + +javadoc: + ./gradlew :lib:generateReleaseJavadoc diff --git a/README.md b/README.md new file mode 100644 index 00000000..ed24897e --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Unity Ads 2.0 Android Release Repository + +Welcome to the Unity Ads 2.0 Android release repository + +## Binaries + +Binaries can be found from the [releases tab](https://github.com/Unity-Technologies/unity-ads-android/releases). + +## Integration Guide + +Integration guide can be found [here](https://github.com/Unity-Technologies/unity-ads-android/wiki/sdk_android_integration_guide) + +## API Reference + +API Reference can be found [here](https://github.com/Unity-Technologies/unity-ads-android/wiki/sdk_android_api_reference) diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 00000000..796b96d1 --- /dev/null +++ b/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/app/build.gradle b/app/build.gradle new file mode 100644 index 00000000..e6f9a5b2 --- /dev/null +++ b/app/build.gradle @@ -0,0 +1,27 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.3" + + defaultConfig { + applicationId "com.unity3d.ads.example" + minSdkVersion 9 + targetSdkVersion 23 + versionCode = 2000 + versionName = "2.0.0-beta1" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:23.0.0' + debugCompile project(path: ':lib', configuration: "debug") + releaseCompile project(path: ':lib', configuration: "release") +} diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 00000000..244e3da2 --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,17 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /Users/rikshot/adt-bundle-mac-x86_64/sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..bc90c874 --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + diff --git a/app/src/main/ic_launcher-web.png b/app/src/main/ic_launcher-web.png new file mode 100644 index 0000000000000000000000000000000000000000..51f133040c4c3b56bb19e924605e93eeb1f47af3 GIT binary patch literal 13505 zcmd6OcR*9ww)X*auu&8cl_nx3AR^KPrC4YI1Vcv+2m(SV(nLxU#)crB00L5k1f?12 zy(l6@AQDO_p(ssS=m`)4Ur@(!=DqK|`|h2&@BMRjvXh*>);eqb_F8NI5@c{$lV#75 zJpcf(Xlq@9001NXB_puw7y7V#w{sl;WFKo^I&XBhZguZ6TJUhSKCttqU0b|{ zrkZr?)0ekqSRzg@D=mwQi)+j7|6tsH$OGH{G8OWORc2Yf7PvT9WxAjJQUojh4V?0x zsJTJdblRHUVLwkZpI&h~$Xequ?mx6@b!`9pLpCAO|7R~b>@7Q-T3)MxkgrzBJi_Fz_4b^UCZfnmo3%e`3F#}#r@ z{AGz;?)`{)hE#B~8=Gv=2QaqqMR($|>I@2>Of#A;<^yia?OvT>D;Fepzw{e*F==%E z??q$Z7WKPi0H6kNcCsWPYsHL*HapSffuzW8uXNDDj0uP~sdpo}cOOuCWCwy2NM!eh zbt=0nNQ@TKhM7|R$P*f6*@3yQT+UX4&lS|85RMq5&p})Oa82aPqn__}Dhd5hO!MdU zx8DQXHvHM9slz+e!r<(0uPYO=Zp87J&1DTL;vZkKA=%;bm32qKDxFCaQl95H7%f$pB=cq8vtr+ z6oK+zcGOP)j~5Jh%MVn9EII>DE8w|u!BapiBXB$ZHPCZ(uDygI)s?4a&l&p{S4h4C z#$5-o%de*Of==pSP;EK@P^#O=;#Q(DAmm+e!G-5%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T9C{7geEz1BW)qsuJ@@5sD2( zX7x29Nyrd4{A@XK@D03(D@RYF>@mxg7msW%M2Jj@HdwnYQTmX zqZQgTXW@3V^-wApQk5eiuBawWW$ ztrj;KkaA2%>(*`Jy~uMfIg4=FX2z-%IYFe!iQy`P%2$3;yAIQIr77^;g#JTD!O9;s zRhO6OsqbB+T>&3~F9nTaCEiIl>9yzG`XelR zeVIhNX1NvGf!$t(M%4EbSB9`TwE4=iCLr^fGCMe*re-)~Xq|*`gPWK_tZQYwv3dz` zQgdr4vlbW6ih_ddvV^g!#FwfFGgFCyqaTc3BQx}csmjJKyaEb4#fDxZ4Q9&cu4f*a zud1+5_^k5!;b*$bf*4eh^z%WlbXqkkkq7o1Ckw^ufv8m#xI-y)Kz(pwBc5ISfAe(n z_Rd;E4&A~l#ilu**s1r4`rxdNl3MMSkHJ^fnK;=Z%z%{h=iwwl+{Su_?Ngs_s^?9bl|}LGK56?e<|6#OgItQ0xu%UPXKVH~TSz zd+D%cIHFhh={DBv{u^@rq=c~TG6;2GL~QrN^)gWe+kpq~&LHO&*5~S%;zf5LEO$P)U4dUk%3NGQ(jy!IaFXL&AMr~+@bO<@_5wR={nLr$(L>RlRPG<&6h^Q`Vmc*!*XC+uL0rx@cl&80Hsv=>}ch6+Mce zrD+yk7Kpw^y$H&CPyNd*8nKhk#(qhwO!M;X=bm5+QcwhjxA=hdAH=BNbZ7j{75_n_ znOXv##S8{7QcPt>IHIpjGttFXW%!x+yel9ASiMzDHz3M6>h!v=I;h*9Jc^q`1Frsh<}C6{%~4>;SR5(z*GaY-9q_0U){HPn+;a8`;--uB-bHU;>Bwn z

|;%3XUN)OFVsoI_^)%Lw47{Hjf>uORFN?5t0iy+YvLuT8Z-z z7*CAor&o3W$0 + + + \ No newline at end of file diff --git a/app/src/main/res/layout/unityads_example_layout.xml b/app/src/main/res/layout/unityads_example_layout.xml new file mode 100644 index 00000000..c975d541 --- /dev/null +++ b/app/src/main/res/layout/unityads_example_layout.xml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + +