Contact Plugin

  

Hello,


I was using the contact plugin and tried to update a contact, in ios mobile is working well, but in android is not working, the update stop the outsystemNow application and if the application is installed do the same.


I have the id of the contact, but still not working seems the call function save it explodes.


Thank you.

Can anyone help? I think this is a bug on the plugin.

Hi Tiago,

From what you wrote, you're testing your app with OutSystems Now right? If that's the case, we've uploaded a new OutSystems Now version to the stores, where we updated the supported plugins.

Can you please try again with the new version and see if the problem still occurs? Let me know how it goes.

Best regards,

Ricardo Alves

Hi,

Its still not working, I have updated Outsystems Now and the behavior is exactly the same, here is some debug info: https://www.screencast.com/t/tF3nx7Lrb9ci

My code is fairly simple: https://www.screencast.com/t/McgznmVadn1


Thanks,

Tiago

Hi,

Did you implement the UpdateContacts action yourself? It is not part of the plugin. Can you share your implementation code, so that we can understand if there's anything missing from there?

Regards,

Ricardo Alves



Hello,


I just copy the AddContacts action and add the id of the contact, on ios works so i guessed on android should be the same thing, like i read on the plugin description.


Thanks,

Tiago

Hello Tiago.

As Ricardo said, the Contacts Plugin in the forge currently doesn't support updating contacts. However, I was able to update a contact using the plugin in Android.

Attached you can find a sample (JavaScript code to put in a JSNode). Please note that it's just an example and should not be used "as is" in production.

Let me know if it helps.

Thanks