Properly group Android push notifications by channel (#5548)

This commit is contained in:
Elias Nahum
2021-07-20 11:36:42 -04:00
committed by GitHub
parent 90cce88358
commit ba78bc9d00
4 changed files with 55 additions and 31 deletions

View File

@@ -4,7 +4,6 @@ import android.content.Context;
import android.content.RestrictionsManager;
import android.os.Bundle;
import android.util.Log;
import java.lang.reflect.InvocationTargetException;
import java.io.File;
import java.util.HashMap;
import java.util.List;
@@ -101,7 +100,7 @@ private final ReactNativeHost mReactNativeHost =
@Override
protected JSIModulePackage getJSIModulePackage() {
return new CustomMMKVJSIModulePackage();
return (JSIModulePackage) new CustomMMKVJSIModulePackage();
}
};