nandarbin opened a new issue, #179:
URL: https://github.com/apache/cordova-plugin-dialogs/issues/179

   # Bug Report
   notification.alert 
   ## Problem
   not working on cordova run browser
   ### What is expected to happen?
   
   
   
   ### What does actually happen?
   Notification Alert Does Not Work When Running in Cordova Run Browser
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   navigator.notification.alert("Maaf Promo tidak di 
temukan",null,'Informasi',['Ok']);
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Cordova Packages:
   
       cli: 11.0.0
           common: 4.1.0
           create: 4.1.0
           lib: 11.1.0
               common: 4.1.0
               fetch: 3.1.0
               serve: 4.0.1
   
   Project Installed Platforms:
   
       android: 12.0.0
       browser: 7.0.0
   
   Project Installed Plugins:
   
       cordova-plugin-app-version: 0.1.9
       cordova-plugin-browsersync-gen2: 1.1.7
       cordova-plugin-camera: 6.0.1-dev
       cordova-plugin-device: 2.0.3
       cordova-plugin-dialogs: 2.0.2
       cordova-plugin-file: 6.0.2
       cordova-plugin-firebasex: 16.1.0
       cordova-plugin-geolocation: 4.0.2
       cordova-plugin-minify: 0.1.2
       cordova-plugin-network-information: 2.0.2
       cordova-plugin-statusbar: 2.4.3
       cordova-plugin-vibration: 3.1.1
       cordova-plugin-x-socialsharing: 6.0.4
       es6-promise-plugin: 4.2.2
       phonegap-plugin-barcodescanner: 8.1.1-dev
   
   Environment:
   
       OS: Microsoft Windows 10 Pro 10.0.19045 (19045) (Windows 10.0.19045) x64
       Node: v18.17.1
       npm: 9.6.7
   
   android Environment:
   
       android:
   ERROR: Command failed with exit code 1: avdmanager list target
   'avdmanager' is not recognized as an internal or external command,
   operable program or batch file.
   
   
   Project Setting Files:
   
       config.xml:
   <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
   <widget id="xxx" version="4.1.0" xmlns="http://www.w3.org/ns/widgets"; 
xmlns:android="http://schemas.android.com/apk/res/android"; 
xmlns:cdv="http://cordova.apache.org/ns/1.0";>
     <name>App.com</name>
     <description>&#xD;
          -. &#xD;
       </description>
     <author email="cahp...@gmail.com" href="http://ksh.co.id";>&#xD;
           IT Technologi &#xD;
       </author>
     <content src="index.html"/>
     <access origin="*"/>
     <allow-navigation href="*"/>
     <allow-intent href="http://*/*"/>
     <allow-intent href="https://*/*"/>
     <allow-intent href="tel:*"/>
     <allow-intent href="sms:*"/>
     <allow-intent href="mailto:*"/>
     <allow-intent href="geo:*"/>
     <allow-intent href="whatsapp://*"/>
     <platform name="android">
       <allow-intent href="market:*"/>
       <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application">
         <application android:usesCleartextTraffic="true"/>
         <application android:hardwareAccelerated="true"/>
       </edit-config>
       <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/application/activity">
         <application android:exported="true"/>
         <activity android:windowSoftInputMode="adjustResize"/>
       </edit-config>
       <icon density="ldpi" src="res/icon/android/icon-36-ldpi.png"/>
       <icon density="mdpi" src="res/icon/android/icon-48-mdpi.png"/>
       <icon density="hdpi" src="res/icon/android/icon-72-hdpi.png"/>
       <icon density="xhdpi" src="res/icon/android/icon-96-xhdpi.png"/>
       <preferance name="android-usesCleartextTraffic" value="true"/>
       <preference name="loadUrlTimeoutValue" value="60000"/>
       <preference name="android-minSdkVersion" value="24"/>
       <preference name="hostname" value="localhost"/>
       <preference name="AndroidInsecureFileModeEnabled" value="true"/>
       <preference name="AndroidPersistentFileLocation" value="Compatibility"/>
       <preference name="AndroidExtraFilesystems" 
value="files,files-external,documents,sdcard,cache,cache-external,assets,root"/>
       <preference name="AndroidWindowSplashScreenAnimatedIcon" 
value="res/splash.xml"/>
       <preference name="AndroidWindowSplashScreenBackground" value="#ffffff"/>
       <preference name="AndroidXEnabled" value="true"/>
     </platform>
     <platform name="ios">
       <allow-intent href="itms:*"/>
       <allow-intent href="itms-apps:*"/>
       <edit-config file="*-Info.plist" mode="merge" 
target="NSCameraUsageDescription">
         <string>need camera access to take pictures</string>
       </edit-config>
       <edit-config file="*-Info.plist" mode="merge" 
target="NSPhotoLibraryUsageDescription">
         <string>need photo library access to get pictures from there</string>
       </edit-config>
       <edit-config file="*-Info.plist" mode="merge" 
target="NSLocationWhenInUseUsageDescription">
         <string>need location access to find things nearby</string>
       </edit-config>
       <edit-config file="*-Info.plist" mode="merge" 
target="NSPhotoLibraryAddUsageDescription">
         <string>need photo library access to save pictures there</string>
       </edit-config>
       <preference name="iosExtraFilesystems" 
value="library,library-nosync,documents,documents-nosync,cache,bundle,root"/>
     </platform>
     <hook src="hooks/after_prepare/uglify.js" type="after_prepare"/>
   </widget>
   
       package.json:
   --- Start of Cordova JSON Snippet ---
   {
     "plugins": {
       "cordova-plugin-app-version": {},
       "cordova-plugin-device": {},
       "cordova-plugin-dialogs": {},
       "cordova-plugin-network-information": {},
       "cordova-plugin-statusbar": {},
       "cordova-plugin-vibration": {},
       "phonegap-plugin-barcodescanner": {
         "ANDROID_SUPPORT_V4_VERSION": "27.+"
       },
       "cordova-plugin-geolocation": {
         "GPS_REQUIRED": "false"
       },
       "cordova-plugin-file": {},
       "cordova-plugin-x-socialsharing": {},
       "cordova-plugin-firebasex": {
         "FIREBASE_ANALYTICS_COLLECTION_ENABLED": "true",
         "FIREBASE_PERFORMANCE_COLLECTION_ENABLED": "true",
         "FIREBASE_CRASHLYTICS_COLLECTION_ENABLED": "true",
         "FIREBASE_FCM_AUTOINIT_ENABLED": "true",
         "ANDROID_ICON_ACCENT": "#FF00FFFF",
         "ANDROID_FIREBASE_PERFORMANCE_MONITORING": "false",
         "ANDROID_PLAY_SERVICES_TAGMANAGER_VERSION": "18.0.2",
         "ANDROID_PLAY_SERVICES_AUTH_VERSION": "20.5.0",
         "ANDROID_FIREBASE_ANALYTICS_VERSION": "21.2.2",
         "ANDROID_FIREBASE_MESSAGING_VERSION": "23.1.2",
         "ANDROID_FIREBASE_CONFIG_VERSION": "21.4.0",
         "ANDROID_FIREBASE_PERF_VERSION": "20.3.2",
         "ANDROID_FIREBASE_AUTH_VERSION": "22.0.0",
         "ANDROID_FIREBASE_INAPPMESSAGING_VERSION": "20.3.2",
         "ANDROID_FIREBASE_FIRESTORE_VERSION": "24.6.0",
         "ANDROID_FIREBASE_FUNCTIONS_VERSION": "20.3.0",
         "ANDROID_FIREBASE_IID_VERSION": "21.1.0",
         "ANDROID_FIREBASE_INSTALLATIONS_VERSION": "17.1.3",
         "ANDROID_FIREBASE_CRASHLYTICS_VERSION": "18.3.7",
         "ANDROID_FIREBASE_CRASHLYTICS_NDK_VERSION": "18.3.7",
         "ANDROID_GSON_VERSION": "2.9.0",
         "ANDROID_FIREBASE_PERF_GRADLE_PLUGIN_VERSION": "1.4.2",
         "ANDROID_GRPC_OKHTTP": "1.46.0"
       },
       "cordova-plugin-minify": {},
       "cordova-plugin-browsersync-gen2": {},
       "cordova-plugin-camera": {
         "ANDROIDX_CORE_VERSION": "1.6.+"
       }
     },
     "platforms": [
       "browser",
       "android"
     ]
   }
   --- End of Cordova JSON Snippet ---
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to