How to Use Dropbox with the WebView plugin

One of our most versatile plugins is the WebView plugin. Basically it allows for pretty much any website or link to open up in your app while still staying within the app. If you were looking to open up a PDF file within your app, the best way to do that would be through Dropbox. 

First, you’ll have to add a WebView plugin.

Add a WebView Plugin

1_011516_103232_AM
Go to Plugins then Add Plugin.
2_011516_103349_AM
Search for the WebView plugin then click Add Instance.
3_011516_103405_AM
Name your WebView Plugin. We recommend naming it after what you will be linking it to.

Then you’ll have to get the DropBox link and input it into the Webview Plugin.

Link Dropbox Link in WebView Plugin

5_011516_103500_AM
Go to Dropbox and click on the Share button next to the file you’d like to link to.
6_011516_103518_AM
Copy the link.
7_011516_103543_AM
Back on Buildfire, paste the Dropbox link where it says URL then click validate. A check mark should appear on the preview screen to the right.

We’re almost done! The Dropbox WebView plugin exists within your app but it’s not accessible yet since we haven’t added a plugin instance anywhere yet; we’ve only created a plugin instance.

Add A Plugin Instance

8_011516_103603_AM
Go to Launcher Plugin and click Add Plugin Instance.
9_011516_103619_AM
Search up the name of the plugin instance you created, check mark it then click on Apply.
Screenshot_2016-01-15-10-29-54_011516_103639_AM_011516_103702_AM
Now your plugin instance should show up on the launcher plugin!

Congrats! You’ve just placed a Dropbox link into a WebView Plugin. Download the Buildfire Previewer to check it out before you publish.

Was this article helpful?

Related Articles