Image for post
Image for post
This puppy is tired of being asked for his permission.

An App Permissions Plug-in for Unity

Wade Tinney
Jun 5, 2019 · 2 min read

We’ve been working on mobile AR applications for a while and the flow for asking for permissions on IOS always bugged us. We wanted to be able to control the flow better for users, rather than having a lot of dialogs pop up willy-nilly. There are a lot of great unity plugins out there, but we didn’t see anything simple that did what we want. Thus: PR Permissions Helper.

PR Permissions Helper is a Unity IOS plugin that lets the developer control how and when you ask your users for permissions. It contains a core plugin class that supports a few permissions common permissions and it can be easily extended to add others.

The package also contains an example usage flow in the Examples folder. In this case, a bootstrap scene contains code that determines whether or not permissions are needed, and forwards to either a main scene or a permissions scene based on this. Feel free to just skin these scenes / components and use them as is.

We are offering this for free. If you find it useful, we would love to hear about it. If you have ideas for improvements, or make some of your own, please let us know. Enjoy!

Patched Reality

News, writing, and research on spatial computing

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store