NetMirror.apk
Download file
package com.facebook.fbreact.specs;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
import g1.C0542a;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Map;
/* JADX INFO: loaded from: classes.dex */
public abstract class NativeDialogManagerAndroidSpec extends ReactContextBaseJavaModule implements TurboModule {
public static final String NAME = "DialogManagerAndroid";
public NativeDialogManagerAndroidSpec(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@Override // com.facebook.react.bridge.BaseJavaModule
public final Map<String, Object> getConstants() {
Map<String, Object> typedExportedConstants = getTypedExportedConstants();
if (C0542a.f9423b || C0542a.f9424c) {
HashSet hashSet = new HashSet(Arrays.asList("buttonClicked", "buttonNegative", "buttonNeutral", "buttonPositive", "dismissed"));
HashSet hashSet2 = new HashSet();
HashSet hashSet3 = new HashSet(typedExportedConstants.keySet());
hashSet3.removeAll(hashSet);
hashSet3.removeAll(hashSet2);
if (!hashSet3.isEmpty()) {
throw new IllegalStateException(String.format("Native Module Flow doesn't declare constants: %s", hashSet3));
}
hashSet.removeAll(typedExportedConstants.keySet());
if (!hashSet.isEmpty()) {
throw new IllegalStateException(String.format("Native Module doesn't fill in constants: %s", hashSet));
}
}
return typedExportedConstants;
}
@Override // com.facebook.react.bridge.NativeModule
public String getName() {
return NAME;
}
protected abstract Map<String, Object> getTypedExportedConstants();
@ReactMethod
public abstract void showAlert(ReadableMap readableMap, Callback callback, Callback callback2);
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file