更新 src/android/cordova/plugin/uhf/UHF.java

This commit is contained in:
2025-07-01 11:07:17 +08:00
parent 5533668028
commit 1f581181bb

View File

@@ -22,7 +22,7 @@ public class UHF extends CordovaPlugin {
private CallbackContext inveCallbackContext;
private static SoundPool soundPool;
private static int soundID;
private boolean notSupported = true;
private boolean notSupported = false;
private int getRawResourceId(String resourceName) {
Context context = cordova.getActivity().getApplicationContext();