textninja.me | 27 May 20:32 2016
Picon

Any working SIM plugin? I also can't debug my first app I need Help!

Every plugin I install is undefined when I try to utilize it in code example: window.plugins.sim what I am doing wrong? Any working phonenumber plugin? I am new to Phonegap also my weinre no targets or gapdebug not apps showing. SAVE ME Please! I can do screen sharing too.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Madhukar Pallam | 27 May 20:08 2016
Picon
Gravatar

Why Windows Phone 8 is deprecated? and Why We don't have Windows C# Template?

Hi Everyone,

I am very new to this forum and PhoneGap/Cordova development. Recently started working on Embedding cordova for Windows platform.

 

When I add wp8 platform from command line, there is warning saying wp8 is deprecated and use windows platform. Now, I am worried to embed cordova in my application. Please suggest me cordova solution for below items:

 

1. I have Windows Phone 8 c# application, I want to integrate cordova for few pages. Like charts, etc...

2. I have Windows 8 c# application, I want to integrate cordova for few pages.

 

I can see "Item 1"  is possible but it is deprecated. and I didn't find any useful information regarding "Item 2", I can only find WinJS approach which I can't do.

 

I see cordova interested/working to support wide range of platforms. I feel Windows 8/10 should be supported like other platforms(android and iOS). If we understood, The Windows Legacy solutions are converting to UWP apps with a simple MS tool. The Windows Legacy solution and future UWP are written mostly C#/C++. Currently We are supporting Windows 8 with WinJS framework.

 

I don't know what is the answers for above. I just put my words to the Cordova for Windows. Please let me know the possibilities?

 

Thanks,

Pallam Madhukar

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
F5 techno Solutions | 27 May 08:31 2016
Picon

ERROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file

Hello, 

I have done some changes in xml as well as info.plist file to increase the bundle version and to do so i have followed some following steps 1) Download and unzip the IPA file. 
2) Click on MyApp.app and "Expand Package Contents". 
3) Open the info.plist file in XCode and edit the "Bundle version" key. 
4) Resign via these instructions: https://coderwall.com/p/cea3fw 

also resigned the ipa 

after resigning the ipa i am trying to upload the same using the application loader but the application loader is giving me following error. 

RROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." 

But when i am actually checking the same file is available in the payload folder of the same ipa which i am trying to load through application loader. 

Please look into it and let me know ASAP. 

STEPS TO REPRODUCE 
1) Download and unzip the IPA file. 
2) Click on MyApp.app and "Expand Package Contents". 
3) Open the info.plist file in XCode and edit the "Bundle version" key. 
4) Resign via these instructions: https://coderwall.com/p/cea3fw 

Following is the resigning procedure that we used please go through that 

Macs-Mac-Pro:iof mac$ cd Desktop 
-bash: cd: Desktop: No such file or directory 
Macs-Mac-Pro:iof mac$ cd ../ 
Macs-Mac-Pro:Desktop mac$ rm -r "Payload5/AshwiniNitinKadam.app/_CodeSignature" "Payload5/AshwiniNitinKadam.app/CodeResources" 2> /dev/null | true 
Macs-Mac-Pro:Desktop mac$ cp "Saylogica_Solutions.mobileprovision" "Payload5/AshwiniNitinKadam.app/embedded.mobileprovision" 
Macs-Mac-Pro:Desktop mac$ codesign -f -s "iPhone Distribution: Sudhir Dhamale" --entitlements Payload5/AshwiniNitinKadam.app/Info.plist Payload5/AshwiniNitinKadam.app 
Payload5/AshwiniNitinKadam.app: replacing existing signature 
Macs-Mac-Pro:Desktop mac$ zip -qr try.ipa Payload5 
Macs-Mac-Pro:Desktop mac$

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Cesar Gonzalez Liñan | 26 May 11:48 2016
Picon

Adnetwork, ads, for windows phone 8.1 and 10 universal with phonegap / cordova

I would like to know if someone know how add different advertising in an app of windows phone universal, do it with phonegap. At this moment I'm working with Microsof Advertising, but the fill rate and eCPM are really low(15% and 0.32Euros approx.). I was looking for another ways and for the moment i dind't do to use another one, Admob doesn't work on universal apps, and I try others(Smaato and AdMediator), but i find that the SDK doesn't work for a Javascript project. 

If someone have some experience with the implementation of another AdNetwork it will be helpfull.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Tim S | 26 May 17:08 2016
Picon

Vue & SSL protocol error

I asked this question on stackoverflow... http://stackoverflow.com/questions/37420426/ssl-protocol-error-in-android-cordova-only-on-wifi

This is very odd. I have an API, server has SSL from Lets Encrypt.

When I consume the API from browser, over WIFI or anything else, its fine. Then, I build an app, and install. On WIFI I get ERR_SSL_PROTOCOL_ERROR

When I disable WIFI, and use 3g, no problem.

Any ideas?

This is the relevant code in vue.js
$http.post( 'https://domain.com/api/auth/signin', credentials, function( data ) { self.items = data; if(data.meta.token){ localStorage.setItem('jwt-token',data.meta.token); localStorage.setItem('auth','true'); router.go('/'); } });

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
tim.williams | 25 May 19:59 2016
Picon

XMLHttpRequest always gives empty string response

Apologies if this ends up being posted twice, my first post seemed to vanish into thin air.

I'm trying to use an XMLHTTPRequest in Cordova to retrieve data from a remote server, but all I ever get back is an empty string. The code looks like this:

        var request = new XMLHttpRequest();
        request.addEventListener("loadend", function() {
            var data;
            if (!request.responseType || request.responseType === "text") {
                data = request.responseText;
            } else if (request.responseType === "document") {
                data = request.responseXML;
            } else {
                data = request.response;
            }

            alert(data);
        });
        request.open('POST', "http://www.myhost.com/somescript.php", true);
        request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        request.send("x=1");


The end result is always an empty string with a request.status=0

The script I'm posting to is a simple test script which looks like this:

<?php
echo "111111";


The log on the server shows that the XMLHttpRequest is being sent and if I access the URL directly using a web browser, I see the script output.

I've checked the whitelisting guide on https://cordova.apache.org/docs/en/latest/guide/appdev/whitelist/index.html . I can confirm that ./platforms/browser/www/config.xml and ./platforms/android/res/xml/config.xml both contain <access origin="*" />.

I'm testing using cordova serve and pointing firefox at the app. It's worth noting that cordova outputs

404 /config.xml

Every time I load the app which makes me think that the access config is perhaps not getting through to the browser, but I am at a loss to understand what I need to do to unblock whatever it is that is preventing the server response from being delivered to my browser. Any insights much appreciated!

servicesforeducation.co.uk

Services for Education Limited, Warwick House, 10 Edward Street, Birmingham B1 2RX

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify support <at> servicesforeducation.co.uk.

The views expressed within this email are those of the individual, and not necessarily those of the organisation.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
shijin tr | 25 May 08:23 2016
Picon

Fixed dimension for cordova app

I am trying to create a cordova application with a fixed width and height.If the device width is higher than the application width then it will display inside of the device view port. and if the device width is less than the application width,then only need to show the center part of the app.

It is more clear as in the bellow image,


The first image have the condition that the device have more width than the app.and second one have less width than the app.

I have tried by adding <meta> in my index.html file as follows,

<meta id="viewport" name="viewport" content="width=<fixed width>,height=<fixed height>, initial-scale=1.0">

But this does not work,because of the cordova render its webview and set width and height before the index.html is loaded. Is there any method to achieve this?

Note: I only need to implement this on android devices.And I need to change webview dimension

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Webmaster Belzona | 24 May 13:51 2016

Windows 8 fails for window.resolveLocalFileSystemURL with cordova.file.applicationDirectory

Hi, I have this working fine on both Android and iOS but while trying to use the same code to create a Windows 8 app it never finds the file:

This fails every time:
window.resolveLocalFileSystemURL(cordova.file.applicationDirectory + "/test.html", win, loose);

But this works fine:
window.resolveLocalFileSystemURL(cordova.file.dataDirectory + "/test.html", win, loose);

I need to be able access the read only www folder also but for some reason I cant access it via window.resolveLocalFileSystemURL.
I know the path is fine as I can append an image into the page from the same folder no problem. I can even add a link (via javascript)to the page using cordova.file.applicationDirectory in the href and it works no problem.
Its just window.resolveLocalFileSystemURL that can't seem to cope with cordova.file.applicationDirectory. What am I missing?

Please help,
Thanks

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Irfan | 24 May 12:58 2016
Picon

Browser Control like functionality in Cordova app

Hello Everyone,
I am newbie in Apache Cordova (Phonegap-cli) and creating hybrid application. My application has multiple pages/views (i.e. need navigation) and also need to open few external web pages (from my company site). Internal views navigation is working fine, however I need help for opening external web pages such that Header remain of my application on top and it just open page below of header (like we add iFrame at specific place in HTML OR in native application, we have BROWSER controls).
As these external web pages also have links (for navigation) so BACK button should work smoothly on this. For example I initially open http://www.google.com in Browser control, then user search on it. When he press BACK button, it should work on Browser control until all history of Browser control is cleared and then BACK button will have affect on my internal views.

Please guide me if there is any such plugin available OR can I use "WebView" to achieve this functionality. Thank you. 

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
spandan chakraborty | 22 May 19:25 2016
Picon

How to Siteminder Authentication in Cordova Hybrid mobile app

Hi..

We are creating a hybrid mobile app using cordova framework for blackberry. Our requirement is to Integrate the Mobile App with Siteminder authentication. Once the app is launch user will be redirected to Sitemider Screen. user will enter the credentials and come back to the application. Can anyone helps us with the steps to do.

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Jesse Monroy | 23 May 01:08 2016
Picon

HEADS UP: Apps Crashing with phonegap-plugin-push and Google Play Services 9.0.0

Hey all,
Simon MacDonald, the author and maintainer of the the phonegap-plugin-push, tweeted earlier today (2016-05-22) of an issue with the plugin. The tweet points to blog post for more information.

The blog post in part reads:

Late last week Google pushed a new version of Google Play Services out to phones and since them some users of the phonegap-plugin-push have been seeing crashes in their app. The stack trace for that crash looks like this:

::::SNIP::::

To see which other plugin is using Android Support Library v4. Removing that plugin, recompile and reinstall the application fixes the problem. Obviously this is not a desired or long term fix. Trying to figure out a way to prevent this but I fear we will require a new version of Android Support Library v4 from Google.

Subscribe to the Issue #909 on the plugin's repo for more info and updates.

Best of Luck
Jesse

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane