I use xampp on my Windows system and i try to run command cordova –version via php exec() function. I tried run cordova directly from path C:/MyUser/AppData/Roaming/npm/cordova –version but it doesn’t work. With this two cases exec returns empty output, what’s wrong? Sourc..
Category : cordova
i want to displaying username when user logs in i’ve been try everything and it doesn’t work, when i try to show it with alert method it show up but when i try to show it on my html page it doesn’t show up. at login page i’m using email and password for login to ..
I am using ajax to access a php file while running the apk version from my android device (it didn’t even work on the android emulator). The php file is in the htdocs folder and the XAMPP is activated. $.ajax({ type:”post”, url: “http://192.168.0.111/hetazotakan/read.php”, success: function(result){ var data=JSON.parse(result); console.log(data); var place=document.getElementById(“news_space”); for(var i=data.length-1;i>=0;i–){ place.innerHTML+=`<li class=”one_third”> <article><a ..
I am new at this and I need some help. I want to create a Cordova project which is supposed to do this. On the main page there’s a "Send" button, when I click on it an ajax request should be sent to the the php file and it should return "hello", and in the ..
I am using Cordova and am trying to send FCM push notifications to Android through Firebase in PHP. I can get everything to work, but not sound (default or custom). I want to get custom sounds working. Cordova version 10.0.0 Cordova Push plugin https://github.com/havesource/cordova-plugin-push version : 1.0.0 My Cordova Config.xml <resource-file src="res/sounds/twoblips.mp3" target="res/raw/twoblips.mp3" /> <resource-file ..
I’m upgrading a Cordova iOS 5.1.1 application to iOS 6.1.1 platform as Apple rejects apps that still use UIWebView. I find the migration quite tough as my app is using loading JS files via Ajax, storing data in localStorage and storing PHP Session cookies and all of this data must be reachable now as well. ..
My team is making an app with Apache Cordova, we need to be able to make requests to a MySQL db that is located in another machine (that is running a PHP server owned by us). From our understanding we can’t make an AJAX request because the server runs in another machine, is there any ..
I have a PHP function for showing an image based on user location in an App. it works well on server I tried to use Ajax call to return the Echo but it’s not showing. what is the best solution to return an image from PHP or just a flag variable based on location. and ..
I’m having a really strange issue with my cordova app. All the Ajax requests from the app to my WAMP server on the same network wont’t work, but the same request from the mobile browser works fine. And there’s no error message, the request just sits there unresponded. It happened just after I had to ..
I would need help with Apache Cordova. I would like to submit a PHP $ POST form within Cordova. I am tried this one, but when I send it, it goes to system browser: Using php form inside phonegap. My PHP / HTML code is largely similar than that one: How to send copy of ..