[ 
https://issues.apache.org/jira/browse/CB-7798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14224151#comment-14224151
 ] 

Sanket Rane commented on CB-7798:
---------------------------------

Dear Team,

Thanks for the reply. I am getting the issue of loading the phone contacts
in hybrid mobile application for windows phone. The website is already
created in Asp.net using C#. I am just calling that website inside the
InAppBrowser. The changes which I have done at website end for cordova is
for pulling the phone contacts. For that I have added the cordova reference
and cordova plugins on the website level and have put the necessary
javascript inside the separate .js file. This functionality works perfectly
fine on Android devices. But for WP8 when I try to implement the same, the
application goes in infinite loop and crashes after some specific time. I
can not share with you the project code as that code is with client and
this application is going to implement for transaction purpose. Sorry for
that. Hopefully you will look into this issue and reply soon. (*Note:* *Can
you please check, as it the aspx page, it is posted back frequently on
button click event of any control. Is there any issue with page postback*?)

Thanks & Regards,
Sanket Rane

On Tue, Nov 25, 2014 at 5:10 AM, Jesse MacFadyen (JIRA) <[email protected]>


-- 
 

*Disclaimer: The information contained in this electronic message and any 
attachments to this message are intended for the exclusive use of the 
addressee(s) and may contain confidential or privileged information.  If 
you are not the intended recipient or have received this email in error you 
are notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.*


> Issue in implementing the native functionality to load contacts using cordova 
> in InAppBrowser windows phone 8 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-7798
>                 URL: https://issues.apache.org/jira/browse/CB-7798
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Plugin Contacts, Plugin InAppBrowser, WP8
>    Affects Versions: 3.5.0
>            Reporter: Sanket Rane
>            Assignee: Jesse MacFadyen
>            Priority: Critical
>              Labels: newbie
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> I am creating the hybrid mobile application. I am using the Cordova 
> framework. I used the InAppBrowser plugin to load the external URL in the 
> application. As well as I am implementing the native functionality to pull 
> the phone contacts using Contacts `plugin`. This functionality is working 
> perfectly for android, but in Windows Phone 8 it will give the below 
> mentioned error. 
> (**Note**: When I click on button which pulls the contact goes in infinite 
> looping, calling the same method recursively)
> (**Note**: The website which I am loading in InAppBrowser is made in Dot Net)
> Getting stack overflow exception on following line in XHRHelper.cs : 
> 'Browser.InvokeScript("eval", new string[] { script });' // This is useful to 
> inject the scripts and on following line in CordovaView.xaml.cs : 
> 'CordovaBrowser.InvokeScript("eval", new string[] { nativeReady });' // This 
> is useful to inject the scripts



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to