[Mono-osx] Using Google In-App Purchasing with UIWebView

Chris Waldron chris.waldron at booktrack.co
Sat Jan 14 07:48:54 UTC 2012


Does anyone have a working example of using Google's In-App purchasing with
UIWebView.

Yeah yeah I know why are you using Google In-App on MacOSX?! Don't ask.

I'm able to use an IFrame in UIWebView however it reported a crash in
UIGetFrame.  To resolve that issue I added a WebUIDelegate overriding
UIGetFrame to return the IFrame's rectangle size.

That seemed to alleviate the exception.

However for some unknown reason the Google frame doesn't render.  It just
hangs during what seems to be an exception ...

OnReceivedResponse: https://sandbox.google.com/checkout/inapp/exception
OnFinishedLoading: https://sandbox.google.com/checkout/inapp/exception
OnReceivedResponse: https://sandbox.google.com/checkout/inapp/exception
OnFinishedLoading: https://sandbox.google.com/checkout/inapp/exception

What I can't figure out is why the Google in-App IFrame loads and renders
in Safari but I can't seem to get this to render with UIWebView.  I've got
a feeling that I'm missing an override or a setting.

Any guidance would be helpful

Cheers,
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120114/3316f981/attachment.html>


More information about the Mono-osx mailing list