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

Chris Waldron chris.waldron at booktrack.co
Sun Jan 15 22:53:56 UTC 2012


Sorry about the confusion.  That should be WebView on MacOSX.  Not
UIWebView.

Cheers!

---------- Forwarded message ----------
From: Chris Waldron <chris.waldron at booktrack.co>
Date: Sat, Jan 14, 2012 at 8:48 PM
Subject: Using Google In-App Purchasing with UIWebView
To: mono-osx <mono-osx at lists.ximian.com>


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/20120116/9cc14ba5/attachment.html>


More information about the Mono-osx mailing list