Contacts plugin

I don’t think so

Hey Scott, 

Looks like there’s a conflict when using both your Contacts and Quick Action plugins. 

“There was a problem linking the app”

 duplicate symbol __ZN13PluginLibrary10InitializeEPv 

Help please, and thanks!

^patched

Confirmed fixed! Thanks Scott  B)

Hi Scott.Thanks for great plugin. 

i have a question - is there any way to get the contact picture on iOS? 

Not at the moment

ok. i got it.

one more thing - in the first try to get contact from device, after i give the permission, i got the app crash with such messages i get via my error handling

“model”:“iPhone”,

“errorMessage”:"module ‘plugin.contacts’ not found:resource (plugin.contacts.lu) does not exist in archive no field package.preload[‘plugin.contacts’]

and several messages like this ( $long app path on device$ is just a short for Users/Username/Library/Developer/CoreSimulator/Devices/someData/data/Containers/Bundle/Application/someData/appName/ - the same string everywhere. )

no file ‘/$long app path on device$/plugin/contacts.lua’ 

no file $long app path on device$/plugin/contacts.lua’

no file ‘/$long app path on device$/corona-plugins/plugin/contacts.so’

no file ‘./plugin/contacts.so’

no file ‘/$long app path on device$/plugin/contacts.so’

no file ‘/$long app path on device$/corona-plugins/plugin.so’

no file ‘./plugin.so’

no file '/$long app path on device$/plugin.so’plugin.contactsluaopen_plugin_contacts", 

device is iPhone 5s

i hope it might be useful

the call is

local contacts = require (“plugin.contacts”)

if ( contacts.canAccess() == "access granted" ) then contacts.get( M.listenerEndGetLocalContacts ) elseif(contacts.canAccess() == "not determined") then contacts.requestAccess(function( event ) if (event.status == "access granted") then contacts.get( M.listenerEndGetLocalContacts ) end end) end

build setting is

["plugin.contacts"] = { publisherId = "tech.scotth", supportedPlatforms = { iphone = true } },

on the second start all works fine.

am i doing something wrong?