MichalPleban opened a new issue, #1319:
URL: https://github.com/apache/cordova-ios/issues/1319

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   Commands like console.log() are supposed to work.
   
   ### What does actually happen?
   
   When connecting through remote debugger (Safari: Develop -> iPhone -> 
index.html), console output is always empty. I can execute JavaScript commands, 
and other tabs (like "Network") work as expected. But no console functions 
produce any output.
   
   ### Environment, Platform, Device
   
   iOS 16.4
   
   ### Version information
   
   Cordova info output:
   
   ```
   Cordova Packages:
   
       cli: 11.1.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: 10.1.2
       browser: 6.0.0
       ios: 6.3.0
       osx: 6.0.0
   
   Project Installed Plugins:
   
       at.gofg.sportscomputer.powermanagement: 1.1.2
       cordova-custom-config: 5.1.1
       cordova-plugin-advanced-http: 3.3.1
       cordova-plugin-android-permissions: 1.1.5
       cordova-plugin-background-mode: 0.7.3
       cordova-plugin-compat: 1.2.0
       cordova-plugin-console: 1.1.0
       cordova-plugin-device: 2.1.0
       cordova-plugin-facebook-connect: 3.2.0
       cordova-plugin-ffmpeg: 2.0.1
       cordova-plugin-file: 7.0.0
       cordova-plugin-firebasex: 12.0.0-cli
       cordova-plugin-globalization: 1.11.0
       cordova-plugin-googleplus: 8.5.2
       cordova-plugin-inappbrowser: 5.0.0
       cordova-plugin-keyboard: 1.2.0
       cordova-plugin-media: 6.1.0
       cordova-plugin-network-information: 3.0.0
       cordova-plugin-purchase: 13.3.11
       cordova-plugin-saf-mediastore: 0.7.0
       cordova-plugin-sign-in-with-apple: 0.1.2
       cordova-plugin-splashscreen: 6.0.2
       cordova-plugin-statusbar: 3.0.0
       cordova-plugin-x-socialsharing: 6.0.4
       cordova.plugins.diagnostic: 7.1.1
       es6-promise-plugin: 4.2.2
   
   Environment:
   
       OS: macOS Ventura 13.2.1 (22D68) (darwin 22.3.0) x64
       Node: v18.15.0
       npm: 9.5.0
   
   android Environment:
   
       android:
   ERROR: Command failed with ENOENT: avdmanager list target
   spawn avdmanager ENOENT
   
   
   ios Environment:
   
       xcodebuild:
   Xcode 14.3
   Build version 14E222b
   
   
   Project Setting Files:
   
       config.xml:
   <?xml version='1.0' encoding='utf-8'?>
   <widget id="pl.notuj.app" version="0.3.0" 
xmlns="http://www.w3.org/ns/widgets"; 
xmlns:cdv="http://cordova.apache.org/ns/1.0";>
       <name>Notuj.pl</name>
       <description>Sample Apache Cordova App</description>
       <author email="[email protected]" 
href="https://cordova.apache.org";>
           Apache Cordova Team
       </author>
       <content src="index.html" />
       <allow-intent href="http://*/*"; />
       <allow-intent href="https://*/*"; />
   
       <allow-navigation href="*" />
   
       <platform name="android">
         <resource-file src="res/values/colors.xml" 
target="/app/src/main/res/values/colors.xml" />
         <preference name="StatusBarOverlaysWebView" value="false" />
         <preference name="android-minSdkVersion" value="22" />
         <preference name="android-targetSdkVersion" value="31" />
         <preference name="SplashMaintainAspectRatio" value="true" />
         <splash density="land-hdpi" 
src="res/screen/android/drawable-hdpi/screen.png" />
         <splash density="land-mdpi" 
src="res/screen/android/drawable-mdpi/screen.png" />
         <splash density="land-xhdpi" 
src="res/screen/android/drawable-xhdpi/screen.png" />
         <splash density="land-xxhdpi" 
src="res/screen/android/drawable-xxhdpi/screen.png" />
         <splash density="land-xxxhdpi" 
src="res/screen/android/drawable-xxxhdpi/screen.png" />
         <splash density="port-hdpi" 
src="res/screen/android/drawable-hdpi/screen.png" />
         <splash density="port-mdpi" 
src="res/screen/android/drawable-mdpi/screen.png" />
         <splash density="port-xhdpi" 
src="res/screen/android/drawable-xhdpi/screen.png" />
         <splash density="port-xxhdpi" 
src="res/screen/android/drawable-xxhdpi/screen.png" />
         <splash density="port-xxxhdpi" 
src="res/screen/android/drawable-xxxhdpi/screen.png" />
         <icon density="ldpi" src="res/icon/android/mipmap-ldpi/icon.png" 
background="@color/background" 
foreground="res/icon/android/mipmap-ldpi/fg.png"/>
         <icon density="mdpi" src="res/icon/android/mipmap-mdpi/icon.png" 
background="@color/background" 
foreground="res/icon/android/mipmap-mdpi/fg.png"/>
         <icon density="hdpi" src="res/icon/android/mipmap-hdpi/icon.png" 
background="@color/background" 
foreground="res/icon/android/mipmap-hdpi/fg.png"/>
         <icon density="xhdpi" src="res/icon/android/mipmap-xhdpi/icon.png" 
background="@color/background" 
foreground="res/icon/android/mipmap-xhdpi/fg.png"/>
         <icon density="xxhdpi" src="res/icon/android/mipmap-xxhdpi/icon.png" 
background="@color/background" 
foreground="res/icon/android/mipmap-xxhdpi/fg.png"/>
         <icon density="xxxhdpi" src="res/icon/android/mipmap-xxxhdpi/icon.png" 
background="@color/background" 
foreground="res/icon/android/mipmap-xxxhdpi/fg.png"/>
         <resource-file 
src="res/icon/android/mipmap-mdpi/notification_icon.png" 
target="app/src/main/res/drawable-mdpi/notification_icon.png"/>
         <resource-file 
src="res/icon/android/mipmap-hdpi/notification_icon.png" 
target="app/src/main/res/drawable-hdpi/notification_icon.png"/>
         <resource-file 
src="res/icon/android/mipmap-xhdpi/notification_icon.png" 
target="app/src/main/res/drawable-xhdpi/notification_icon.png"/>
         <resource-file 
src="res/icon/android/mipmap-xxhdpi/notification_icon.png" 
target="app/src/main/res/drawable-xxhdpi/notification_icon.png"/>
         <resource-file 
src="res/icon/android/mipmap-xxxhdpi/notification_icon.png" 
target="app/src/main/res/drawable-xxxhdpi/notification_icon.png"/>
         <config-file target="AndroidManifest.xml" parent="/*" 
xmlns:android="http://schemas.android.com/apk/res/android";>
           <uses-permission 
android:name="android.permission.POST_NOTIFICATIONS" />
         </config-file>
   
         <!--
         <config-file parent="/manifest" target="AndroidManifest.xml">
           <queries>
             <intent>
               <action android:name="android.intent.action.SENDTO" />
               <data android:scheme="mailto" />
             </intent>
           </queries>
         </config-file>
         -->
         <config-file target="AndroidManifest.xml" 
parent="/manifest/application" 
xmlns:android="http://schemas.android.com/apk/res/android";>
           <meta-data 
android:name="com.google.firebase.messaging.default_notification_icon" 
android:resource="@drawable/notification_icon" />
         </config-file>
   
       </platform>
   
       <platform name="ios">
         <config-file parent="CFBundleAllowMixedLocalizations" platform="ios" 
target="*-Info.plist">
           <true />
         </config-file>
         <preference name="scheme" value="app" />
         <preference name="hostname" value="localhost" />
         <preference name="StatusBarOverlaysWebView" value="true" />
         <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
         <icon height="180" src="res/icon/ios/[email protected]" width="180" />
         <icon height="60" src="res/icon/ios/[email protected]" width="60" />
         <icon height="120" src="res/icon/ios/[email protected]" width="120" />
         <icon height="76" src="res/icon/ios/[email protected]" width="76" />
         <icon height="152" src="res/icon/ios/[email protected]" width="152" />
         <icon height="228" src="res/icon/ios/[email protected]" width="228" />
         <icon height="40" src="res/icon/ios/[email protected]" width="40" />
         <icon height="80" src="res/icon/ios/[email protected]" width="80" />
         <icon height="87" src="res/icon/ios/[email protected]" width="87" />
         <icon height="57" src="res/icon/ios/[email protected]" width="57" />
         <icon height="114" src="res/icon/ios/[email protected]" width="114" />
         <icon height="72" src="res/icon/ios/[email protected]" width="72" />
         <icon height="144" src="res/icon/ios/[email protected]" width="144" />
         <icon height="167" src="res/icon/ios/[email protected]" 
width="167" />
         <icon height="29" src="res/icon/ios/[email protected]" width="29" />
         <icon height="58" src="res/icon/ios/[email protected]" width="58" />
         <icon height="50" src="res/icon/ios/[email protected]" width="50" />
         <icon height="100" src="res/icon/ios/[email protected]" width="100" />
         <icon height="167" src="res/icon/ios/[email protected]" 
width="167" />
         <icon height="1024" src="res/icon/ios/[email protected]" 
width="1024" />
         <config-file platform="ios" target="*-Info.plist" 
parent="NSMicrophoneUsageDescription">
           <string>Tworzenie notatek głosowych.</string>
         </config-file>
         <config-file platform="ios" target="*-Info.plist" 
parent="NSCameraUsageDescription">
           <string>Tworzenie notatek wideo.</string>
         </config-file>
         <preference name="WKWebViewOnly" value="true" />
         <feature name="CDVWKWebViewEngine">
           <param name="ios-package" value="CDVWKWebViewEngine" />
         </feature>
         <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
   
       </platform>
   
       <platform name="osx">
         <icon src="res/icon/osx/icon-16x16.png" width="16" height="16" />
         <icon src="res/icon/osx/icon-32x32.png" width="32" height="32" />
         <icon src="res/icon/osx/icon-64x64.png" width="64" height="64" />
         <icon src="res/icon/osx/icon-128x128.png" width="128" height="128" />
         <icon src="res/icon/osx/icon-256x256.png" width="256" height="256" />
         <icon src="res/icon/osx/icon-512x512.png" width="512" height="512" />
         <icon src="res/icon/osx/icon-1024x1024.png" width="1024" height="1024" 
/>
         <preference name="ShowSplashScreen" value="false" />
         <preference name="AutoHideSplashScreen" value="true" />
       </platform>
   
       <preference name="DisallowOverscroll" value="true" />
       <preference name="BackupWebStorage" value="local" />
       <preference name="AutoHideSplashScreen" value="false" />
       <preference name="ShowSplashScreenSpinner" value="false" />
       <preference name="SplashScreenDelay" value="0" />
       <preference name="Suppresses3DTouchGesture" value="true" />
       <preference name="Allow3DTouchLinkPreview" value="false" />
       <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
       <preference name="AllowInlineMediaPlayback" value="true" />
   
       <preference name="cordova.plugins.diagnostic.modules" value="MICROPHONE 
WIFI LOCATION EXTERNAL_STORAGE" />
   
       <preference name="BackgroundColor" value="0x1c1c1dff"/>
       <preference name="SplashScreenBackgroundColor" value="#dcdcdc"/>
       <preference name="Orientation" value="portrait"/>
       
   </widget>
   
       package.json:
   --- Start of Cordova JSON Snippet ---
   {
     "platforms": [
       "osx",
       "browser",
       "android"
     ],
     "plugins": {
       "cordova-plugin-splashscreen": {},
       "cordova-custom-config": {},
       "cordova-plugin-advanced-http": {},
       "cordova-plugin-android-permissions": {},
       "cordova-plugin-compat": {},
       "cordova-plugin-device": {},
       "cordova-plugin-file": {},
       "cordova-plugin-keyboard": {},
       "cordova-plugin-media": {},
       "cordova-plugin-network-information": {},
       "cordova-plugin-saf-mediastore": {},
       "cordova-plugin-statusbar": {},
       "cordova-plugin-x-socialsharing": {},
       "cordova.plugins.diagnostic": {},
       "es6-promise-plugin": {},
       "cordova-plugin-googleplus": {
         "REVERSED_CLIENT_ID": 
"com.googleusercontent.apps.45382520060-6nftp9mujb4ia4ndglmbulokbveiv30q",
         "WEB_APPLICATION_CLIENT_ID": 
"45382520060-me41qjmdsvvv3nol42asrvse5r6g7ut0.apps.googleusercontent.com"
       },
       "at.gofg.sportscomputer.powermanagement": {},
       "cordova-plugin-firebasex": {
         "FIREBASE_ANALYTICS_COLLECTION_ENABLED": "true",
         "FIREBASE_PERFORMANCE_COLLECTION_ENABLED": "true",
         "FIREBASE_CRASHLYTICS_COLLECTION_ENABLED": "true"
       },
       "cordova-plugin-ffmpeg": {},
       "cordova-plugin-background-mode": {},
       "cordova-plugin-inappbrowser": {},
       "cordova-plugin-purchase": {
         "BILLING_KEY": 
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxR3q9bmYKGwIFR1kmxeTuxsujaK0VLtYmUxOWjGfKT+Xc3+0lUQ8KjP/5/54FZKBMHhqyHPEToNRiI8tWIh8G6E9l4HhVxOGcBYt01sN8a8jJtckd1m441g5rTMHirY5Hkv/mM5b/hOwi3CEwR30pj+VeIkxnBsxrJXVP0sgw40WExp/dnRuokLwBgSk9pHqgzs00lUeIoe3XVtkxDahD0UTrEcnSKF55E3fOenbeA4ctpOkq1MR/fLvbjx/Vv3fzDV2qLJJnfUwhHhZqMzjhZ4O6hF9MOe4mWD9rfst4T09ju3pjAQjUxVoKiYGVbXlyqZU83GaY0FCpVfK+gedFwIDAQAB"
       },
       "cordova-plugin-facebook-connect": {
         "APP_ID": "1167315467356511",
         "APP_NAME": "Notuj.pl"
       },
       "cordova-plugin-globalization": {},
       "cordova-plugin-sign-in-with-apple": {},
       "cordova-plugin-console": {}
     }
   }
   --- End of Cordova JSON Snippet ---
   ```
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to