An open API service indexing awesome lists of open source software.

https://github.com/creativelive/facebookwebbrowserdebugapp

Debug iOS Facebook Internal Browser
https://github.com/creativelive/facebookwebbrowserdebugapp

Last synced: 4 months ago
JSON representation

Debug iOS Facebook Internal Browser

Awesome Lists containing this project

README

          

Facebook iOS Internal Web Browser Debug App
===========================================

##Why you want to read this:

You are seeing errors in the built-in web browser from the iOS Facebook app.

##Our motivation:

We were unable to get the Safari debugging window into this embedded web browser. This made our bug difficult to investigate.

##The Solution:

The solution was to recreate the Facebook built-in web environment with debugging tools.

This project from Paul Irish works, https://github.com/paulirish/iOS-WebView-App, but didn't render our site responsive.

So we made a simple Swift app that uses WebKit to render our site. This allows http://appletoolbox.com/2014/05/use-web-inspector-debug-mobile-safari/

##Using This App:

- Install XCode
- Clone Repo
- Import Project from XCode
- Change the URL to what you want [here](https://github.com/creativelive/FacebookWebbrowserDebugApp/blob/master/FacebookWebbrowserDebugApp/ViewController.swift#L22).
- Build App
- Follow the [Safari Debug Tutorial](http://appletoolbox.com/2014/05/use-web-inspector-debug-mobile-safari/) to enable debugging.

Happy Bug Squashing!