How to set delegate in PluginLibrary so that Controller has it?

Thanks a lot !

I’m gonna try now :slight_smile:

I found these ad-related plugin examples on github

  • plugins-sample-ads-iAds
  • plugins-sample-ads-InMobi
  • plugins-sample-ads-inneractive
  • plugins-sample-ads-admob

but they are all in Lua.

Did I miss something?

Thanks again

Olivier

Those are the ones. But the plugins on GitHub do contain code that is not in Lua – check the iOS or other folders in the project (I’m writing this from memory on my phone). They have objC code in them that includes creation of a delegate. I feel like inneractive or inmobi were the ones I referenced.

ok thanks again!  :unsure:

I’ve downloaded all the “ad” plugins… I didn’t find any code in objC or ios folders…

Any idea?

Thanks

O.

Okay, back at computer. My mistake – those ad projects are about how to USE a corona plugin. Here’s one of the ones I looked at, which is the code to CREATE a corona ad plugin for Vungle.

https://github.com/Vungle/coronaplugin

Thank you for your help RealHandy  :slight_smile:

Best,

Olivier

Solved – see https://forums.coronalabs.com/topic/58195-uiimagewritetosavedphotosalbum-unable-to-callback-to-lua/

It works!  B)

Thank you very much RealHandy!

You’re the boss  :wink:

Best

Olivier

Great! Glad I could help.

Still trying to achieve a very similar thing here: https://forums.coronalabs.com/topic/58195-uiimagewritetosavedphotosalbum-unable-to-callback-to-lua/

RealHandy and oromanetti would you be able to offer any advice?

Hi mpayne,

I’m not at my office actually,

I could maybe help you at my return at the end of August…

Sorry 

Best

Olivier

And I only do Corona at home, so I don’t have access now. Can take a look on Saturday, though.

Thanks for getting back to me!

Not to worry oromanetti :slight_smile: hopefully it’ll be solved by then :wink:

If you could RealHandy that would be great!

Many thanks

Solved – see https://forums.coronalabs.com/topic/58195-uiimagewritetosavedphotosalbum-unable-to-callback-to-lua/