Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ buildscript {
apply plugin: 'com.android.library'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
Expand All @@ -34,4 +34,4 @@ dependencies {
compile 'com.facebook.react:react-native:+'
compile fileTree(dir: "libs", include: ["*.aar"])
}


Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import com.facebook.react.modules.core.DeviceEventManagerModule;
import android.support.annotation.Nullable;

public class RNUnityAdsModuleModule extends ReactContextBaseJavaModule {
public class RNUnityAdsModuleModule extends ReactContextBaseJavaModule implements IUnityAdsListener {

private final ReactApplicationContext reactContext;

Expand Down Expand Up @@ -129,5 +129,4 @@ public void onUnityAdsError(UnityAds.UnityAdsError error, String message) {

sendEvent(reactContext,"Error", params);
}

}
}