Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from thunderheadone/release/2.0.4
Browse files Browse the repository at this point in the history
Release/2.0.4
  • Loading branch information
th-anguyen authored Jul 20, 2021
2 parents 3c40031 + 9d616b9 commit 329a78a
Show file tree
Hide file tree
Showing 9 changed files with 20,490 additions and 5,949 deletions.
2 changes: 1 addition & 1 deletion cordova-plugin-one/hooks/lib/android-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.4'
classpath 'com.thunderhead.android:orchestration-plugin:4.0.0'
classpath 'com.thunderhead.android:orchestration-plugin:5.0.1'
}
}
// One Cordova Plugin - End One SDK configuration`;
Expand Down
2 changes: 1 addition & 1 deletion cordova-plugin-one/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-one",
"version": "2.0.3",
"version": "2.0.4",
"description": "One Cordova Plugin for the ONE SDK for iOS and Android",
"homepage": "https://www.thunderhead.com/",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions cordova-plugin-one/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-one" version="2.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<plugin id="cordova-plugin-one" version="2.0.4" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>cordova-plugin-one</name>
<description>One Cordova Plugin for the ONE SDK for iOS and Android</description>
<license>Copyright © 2021 Thunderhead. All rights reserved.</license>
Expand Down Expand Up @@ -71,7 +71,7 @@
<source-file src="src/android/OnePlugin.java" target-dir="src/com/thunderhead/plugin/one" />
<source-file src="src/android/OneSdkVersion.java" target-dir="src/com/thunderhead/" />
<source-file src="src/android/ThunderheadProvider.java" target-dir="src/com/thunderhead/provider" />
<framework src="com.thunderhead.android:one-sdk:9.1.0" />
<framework src="com.thunderhead.android:one-sdk:10.0.0" />
<framework src="src/android/one.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>
6 changes: 2 additions & 4 deletions cordova-plugin-one/src/android/OnePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,14 @@ public boolean execute(final String action, final CordovaArgs args, final Callba
switch (logLevel) {
case 0:
oneLoggingConfiguration = OneLoggingConfiguration.builder()
.log(LogLevel.WARN)
.log(LogLevel.ERROR)
.log(Component.ANY)
.log(LogLevel.NONE)
.log(Component.NONE)
.build();
One.setLoggingConfiguration(oneLoggingConfiguration);
break;
case 1:
oneLoggingConfiguration = OneLoggingConfiguration.builder()
.log(LogLevel.VERBOSE)
.log(LogLevel.DEBUG)
.log(Component.ANY)
.build();
One.setLoggingConfiguration(oneLoggingConfiguration);
Expand Down
2 changes: 1 addition & 1 deletion cordova-plugin-one/src/android/OneSdkVersion.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.thunderhead;

public class OneSdkVersion {
private static final String ONE_CORDOVA_PLUGIN_VERSION = "2.0.3";
private static final String ONE_CORDOVA_PLUGIN_VERSION = "2.0.4";

public static void updateModuleSdkVersion() {
SdkExtraParams sdkExtraParams = new SdkExtraParams();
Expand Down
2 changes: 1 addition & 1 deletion cordova-plugin-one/src/android/one.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'com.thunderhead.android.orchestration-plugin'
ext.cdvBuildToolsVersion = '28.0.0'

dependencies {
implementation "com.thunderhead.android:one-sdk:9.1.0"
implementation "com.thunderhead.android:one-sdk:10.0.0"
}

repositories {
Expand Down
Loading

0 comments on commit 329a78a

Please sign in to comment.