Tidbits of Experience: Unity App on Android Not Showing Permission Request Dialog

It happened to me that an app I was creating required some Android permissions and while it did show the permission dialogs when I first installed it, subsequent builds, with more or different permissions, didn’t pop the dialog. Even after uninstalling and reinstalling the app, nothing happened.

Digging through the AndroidManifest.xml file Unity was generating, I found this line:

<meta-data android:name=”unityplayer.SkipPermissionsDialog” android:value=”true” />

So, to override, make sure you have an AndroidManifest.xml file in your Plugins\Android directory (you can copy the generated file from Temp\StagingArea as a start) and make sure you have the line:

<meta-data android:name=”unityplayer.SkipPermissionsDialog” android:value=”false” />

Under your Application tag.

It will ask for permissions every time you reinstall the app but it should be good from then on out.


Posted in Life, Practice, Programming, Thinking Out Loud by with no comments yet.

The Push Forward Extensions

Here is a package of several extensions I’ve created that I use in my Unity projects. I thought they would be useful and would appreciate any feedback.

Push Forward Extensions.


Posted in Programming, Work by with no comments yet.

I Made a Game!

It’s here.

You need a phone and at least four people to play it.

Have fun. I’m tired. Good night.


Posted in From the Writing Desk, Gaming, Life, Programming by with no comments yet.

Success!

So, I’m working on a dice roller for Android…

And today, after much mucking about with HTTP packages and a little mucking about with System.Net (after I got tired and decided to do it bare bones) and a little bit of https wrangling, I finally got my first real response from Random.org. And it was pretty quick.

Yay! I’m out.


Posted in High-Tech, Life, Programming by with 5 comments.

Fuck You, Xamarin

After messing around with tutorials and trying to put something together for about a month and finally running into huge building/libraries/references issues that I couldn’t solve for a few days, I decided to quit Xamarin development. At least, for now.

Even planned as a simple 2D application, I’m willing to accept the splash screen and loading times so I can do this handily in Unity GUI. And I know it will compile very easily to Android and, slightly less easily, to iOS. It will definitely be quicker and easier to build.


Posted in IT, Life, Programming by with comments disabled.

Don’t You Just Love it When a Plan Comes Together

Yesterday was interesting. I was doing my thing, as usual. I knew there were problems with the latest store version we uploaded but I was practicing not shoving my nose in to things I probably shouldn’t. It happens to me quite a lot that I try to help but I really shouldn’t, for various reasons. So, this time, I did that.

I don’t know exactly how much time has passed but I noticed the rest of the team wasn’t getting any progress. So, I joined in, took a look at what they were doing, suggested some things that didn’t quite help, and then decide to investigate it on my own. I pushed some breakpoints in the flow and spent about 15 minutes looking at exactly what was happening. Then I said: “I can tell you exactly what is happening!”

Then everyone crowded around my station while I explained why it happens and what I think we should do to fix it. The response was stunned silence. So, I said “No objections or suggestions? Ok, I’ll do what I said.” Then some stayed to watch. :)

It doesn’t happen all the time. But it’s fun when it does.


Posted in IT, Programming, Work by with comments disabled.

Global Game Jam 2016

7:19 – Soon, we will start. Feeling: Excited.

11:14 – Got there. Heard the keynote. Got the theme (No, not telling). Now Brainstorming.

11:42 – Getting to work.

00:31 – Home now. Was a busy day. The venue itself isn’t that great; the air conditioning is brutal, the separate spaces are nice but it’s tough to even stay properly hydrated. Took out the pup. Going to go to sleep soon.

10:51 – Back in the saddle again. 7 Hours to demo.

12:43 – Finished the basic system. Now starting to write content. The peckishness has begun. They said pizzas are forthcoming.

13:37 – Refueled and ready to go again.

18:14 – Wrapping up. Getting ready for the presentation.

20:34 – Presentations completed. Some really nice games. Mine felt inadequate. Maayan’s looked very nice. They both, one Twine based, one completely console, definitely turned some heads in a room mostly composed of Unity developers.

00:57 – Concluded with a family dinner at Maayan’s parents and a viewing of Gav HaUma. Now, finally, going to sleep. Tomorrow, a full workday awaits.


Posted in Gaming, Life, Programming by with comments disabled.

אתמול היה יום טוב

שלשום בערב הגענו למסקנה שיש משהו שצריך לעשות ושחייבים לדחות בגללו את הגרסה. התאפסנו על ההגדרות המדויקות, ידעתי מה צריך לעשות, אבל גם ידעתי שזה ייקח בערך יום אז אני לא אתחיל את זה ב-19:00. אז כן התחלתי את זה אתמול בבוקר.

ומה הייתי צריך לעשות? היה חלון במשחק, שבגלל המאפיין החדש שאנחנו רוצים להוסיף, דורש שכתוב כמעט מוחלט של הזרימה שלו. אז התיישבתי והתחלתי לכתוב. וזה היה הרבה שכתוב, הרבה עריכה, הרבה כתיבה של דברים חדשים ואני צריך לסיים את הכל לפני שאני יכול להריץ משהו או לבדוק משהו בגלל שזה שובר את ההידור. אז במשך שעות, אני יושב וכותב. רק אני וה-Visual Studio. לא היו הפרעות, לא הייתי צריך להתעסק עם דבר אחר.

היה כיף ממש.


Posted in Life, Programming, Thinking Out Loud by with comments disabled.

להקדים ציפיות

אנחנו רוצים להוציא גרסה גדולה בקרוב עם הרבה שיפורים ועדכונים ולכן עבדתי הרבה על דיאלוגים בימים האחרונים. אני עדיין משתדל לתת הערכות קצת נדיבות לגבי כמה זמן כל דבר ייקח לי כי אני יודע שאני מאוד גרוע בלתת חסם עליון לכמה זמן אני צריך. אבל, מכיוון שאני מכיר את המערכת הזאת יותר טוב מכל אחד אחר, זה לא נורא מפתיע כשאני בדרך כלל סוגר אותם מוקדם.

אבל זה באמת שעשע אותי אתמול.

אתמול התחלתי בלסיים את החלק השני של המשימה שנשארה לי מיום לפני. הכל היה סבבה רק עמית ביקש ממני לסדר קצת את ה-colliders על הכפתורים כי הם לא הגיבו כל כך טוב. ובזמן שטיפלתי בזה, הוא בא לפרוס בפנינו את התוכנית לימים הקרובים כדי שהכל יהיה מוכן. אז אני קיבלתי משימה שהייתה אמורה לקחת יום החל ממחר בבוקר. אז כשסיימתי את המשימה הקודמת, התחלתי לעבוד על זאת. הדיווח האחרון שלי לפני שעזבתי את המשרד? “בגלל שזמי כבר הלך אז אני לא יכול לקבל תיקון לשני רקעים אבל חוץ מזה, הכל כבר סגור.”

כשאמרתי את זה אז גם עמית וגם טל נראו כאילו הם לא בטוחים אם להיות מופתעים או לא.

וסיימתי את זה כל כך מהר שאני לא יכול להתחיל את המשימה הבאה כי אני מחכה למשימה אחרת שעוד לא נגמרה.

אז זה קצת גרם לי להרגיש טוב עם עצמי.


Posted in Gaming, Life, Programming, Work by with comments disabled.

The End

This is an attempt at a new style of storytelling/gaming/roleplaying. This is, at its base, a Twine game-story but I want to build it based on user input. It starts with the first passage. I will add choices and passages based on user input. Please say so in the comments. Tell me which passage and what option would you like. Don’t feel bad but whenever the comments will get too numerous, they will be pruned.

Thank you for participating in my experiment. This is it. This is The End.


Posted in Art, Gaming, Programming, Role-Playing, Stories by with 4 comments.