Image Picker version 2.0 – Android Ultimate Plugin (1.7.4) for Unity3d

Today we added a new Feature on Android Ultimate Plugin for Unity3d and that is you can now get 2 or more images at the same time, well at first we thought that adding this feature is so easy but no it’s not that easy we need to create a Custom Gallery Activity for this because the simple Activity intent for getting more images on Android is not working i don’t know why that’s why we resort on doing this Custom Activity and this new feature required an Open Source Library and this is  Android Universal Image Loader created by Nostra13, we need this to for Caching of images and to load it faster on our Activity and to prevent crashed because of out of memory but  this is not 100% cure, out of memory can still happen specially on low spec devices so beware

Before anything else i want you to download the Universal Image Loader from this open source link https://github.com/nostra13/Android-Universal-Image-Loader/blob/master/downloads/universal-image-loader-1.9.5.jar

Or from this link if that link is down or gone

https://drive.google.com/file/d/0Bw14w3QBZaGxVWszZGZnMEdISlE/view?usp=sharing

and i want you to put this jar file (universal-image-loader-1.9.5.jar) on directory of your unity3d project “Assets/Plugins/Android/aup/libs”

And that’s it everything is set

Please check this sample usage on how to use it and it’s so easy right?

 

Please Note that we need the Dispatcher if we want to do something after the callback to make sure that this codes will run on the Main Thread if not you will definitely encounter some errors or issues

And there you have it so easy right? , i hope this information helps you

For more questions or comments or suggestions just email us at gigadrillgames@gmail.com

See you! Thanks for Visiting and Reading 🙂

 

Integrating Firebase Analytics to Android Ultimate Plugin For Unity3d

Hi Guys, After we successfully integrate the Google play services and Google Mobile Ads to Android Ultimate Plugin today we will try to also Integrate the Firebase Analytics which came from this link

https://firebase.google.com/docs/analytics/unity/start

Setting Up Guides

https://firebase.google.com/docs/unity/setup

Before you start Integrating Firebase Analytics you need to provide 1st the SHA1 and SHA256 on firebase project settings to get this keys on your keystore follow this links

https://developers.google.com/android/guides/client-auth

 

For quick start guides on how to integrate firebase analytics and use inside Unity3d

https://github.com/firebase/quickstart-unity/blob/master/analytics/testapp/readme.md

To know on how to log events on firebase analytics follow and read this link

https://firebase.google.com/docs/analytics/unity/events

More information on Firebase Events

https://firebase.google.com/docs/reference/unity/class/firebase/analytics/firebase-analytics#eventaddpaymentinfo

More information on Parameters

https://firebase.google.com/docs/reference/unity/class/firebase/analytics/parameter

For setting user properties

https://firebase.google.com/docs/analytics/unity/properties

For Linking your google play or android app on Google play follow this link

https://support.google.com/firebase/answer/6392038?hl=en&ref_topic=6317497

https://firebase.google.com/support/guides/integrate-play-games

Note: if you have google play services plugin inside your Unity3d Project you will get some conflict on the google resolver jars , so what i do is i just remove the resolver from google play services plugin and after that a popup will appear on Unity3d Editor that asking you to install the dependencies and then just install and accept it after that you will see a lot of new libraries inside your Android Plugin folder and it will also replace your libraries with the new one which is not good because it might cause some problems or error on your other Android Plugin.

Here’s what happen, we successfully build the apk on Android Device

Things that still working

  1. Google Admob
  2.  Android Ultimate Plugin

Things that is not working

  1. Google play services the app crashed when try to login

How to fix the Android Errors?

Alright after searching  on different forums and support groups we find out from other people that the play services .aar files with 10.0.20 version have conflict on google play services to fix this change everything into version 10.0.1 both play services .aar files and firebase-analytics .aar files after that just build normally and everything should be fixed by now on our end everything is working fine after this changes and we also check the firebase dashboard and yes it detects that firebase analytics is running and active

Note: all of the .aar files must be the same version to make this build and run sucessfully

How to fix IOS xcode errors?

Yes it’s a bad news after we build the xcode project using unity3d we got lot’s of errors and yes it’s because of Firebase Analytics plugin for untiy3d and we spent lots of hours trying to find the solution on it and at last we got lucky so the solution is

  1. delete all the derived data on your machine because xcode get confused sometimes or most of the time when adding new framework or library this can be done by going to your Library/Developer/Xcode/DerivedData
  2.  force  build clean project the shortcut keys is cmd + shift + alt + k
  3. Delete all files inside pod directory
  4. open your terminal and then pod update
  5. build clean again once more and build the project on your device
  6.  if you still get error try to delete the frameworks and library that you add  and add it again this is weird but it works 🙂

more tips:

  1. when build ios or xcode project in unity3d always use build only dont use build and run and used Append not replace to avoid doing all the settings and fixes again that’s nightmare!!!
  2.  when opening the xcode project double click the work space not the xcode project file this will create a weird errors
  3.  always  build clean every time you open your xcode project and before building

and that’s the step we go through before we finally build it successfully on ios device.

 

And Here’s the list of other things you can do with Firebase

Firebase Cloud Messaging for Unity3d

https://firebase.google.com/docs/cloud-messaging/unity/client

Manage Users on Firebase for Unity3d

https://firebase.google.com/docs/auth/unity/manage-users

Firebase realtime Database for Unity3d

https://firebase.google.com/docs/database/unity/start
Firebase Storage for Unity3d

https://firebase.google.com/docs/storage/unity/start

Firebase Remote Config for Unity3d this is the best you can modify you game config and settings without actually uploading  a new build on google play store

https://firebase.google.com/docs/remote-config/use-config-unity

Firebase Invite for Unity3d

https://firebase.google.com/docs/invites/unity

And that is our findings, i hope this information helps you out and saves you a lot of time unlike us but yes we are happy to help you out 🙂

For more questions or comments or suggestions just email us at gigadrillgames@gmail.com

 

Integrating Firebase Google Admob on Android Ultimate Plugin for Unity3d

Hi Guys, After we Integrate Google Play Services with Android Ultimate Plugin For Untiy3d Successfully, we are now about to try the Firebase  Google Admob For Unity3d this is the newest way on adding Google Admob for your game after Google Acquired the Firebase technology they combine it quickly on their API like Admob and some other things like Analytics because Firebase is one of the unique Technology now a days that can be easily use by any one quickly  because it’s so simple and easy to use with a lot of features available.

to setup this on Unity3d this please follow and read these links below

Admob Setup for Unity3d

https://firebase.google.com/docs/admob/unity/start

Link for Google Mobile Ads Unity3d Plugin

https://github.com/googleads/googleads-mobile-unity/releases/tag/3.2.0

Plugin API for Untiy3d

https://firebase.google.com/docs/admob/unity/start#unity_plugin_api

Setup for Integrating Firebase Analytics for Unity3d

https://firebase.google.com/docs/unity/setup

Firebase Docs and Features

https://firebase.google.com/docs/

This post will be updated after we completed this integration and we will give you our findings on this integration like we did on google play services, so see you for now

 

Updates

We have successfully Integrate Google Admob Ads on Unity3d with Android Ultimate Plugin, Google play services and Google Mobile ads our findings

  1. you just need to change the min sdk to 9 and target sdk to 16 on Android Manifest of GoogleMobileAdsPlugin folder
  2.  change the target sdk on project.properties file to 16

and then you can build it successfully, here’s the demo apk with google admob banner ads running , install it and try to see it in action 🙂

link for demo APK

https://drive.google.com/file/d/0Bw14w3QBZaGxR0FFWFEwQXpDRGM/view?usp=sharing

this Finger VS Bugs game have Android Ultimate Plugin, Google Play Services and Google Mobile Ads which is Admob we used Banner Ads on this game try it out 🙂

Information about Admob Banner Sizes

https://firebase.google.com/docs/admob/android/banner

https://firebase.google.com/docs/admob/android/banner

Ad Request Targeting to customize your ads based on your target audience

https://firebase.google.com/docs/admob/android/targeting

and yes for testing admob on device this link might help you

http://answers.unity3d.com/questions/834119/admob-device-id-on-ios-for-test-ads.html

For getting device id  for testing admob ads

this code is if from that link in case it’s not active anymore 🙂

 

Thanks for  reading and visiting 🙂

for more question or comments or suggestions just email us at gigadrillgames@gmail.com

How to use Android Ultimate Plugin For Unity3d

Hi Guys! Here’s the new way on how to use our Android Ultimate Plugin for Unity3d this changes will start on version 1.7.1 and if you are a previous user of this plugin please read the links and  information below before following the steps  , if you are a new user of this plugin you can follow the steps below directly.

New Structure version 1.7.1

http://www.gigadrillgames.com/2017/01/29/android-ultimate-plugin-major-changes-1-7-1/

How to Merged  Android Ultimate Plugin and Google play Services and use them  both at the same time

http://www.gigadrillgames.com/2017/01/31/merging-android-ultimate-plugin-1-7-1-on-google-play-services/

well after reading the above links at least you know now on why we need to do this changes and now you can follow this new steps

Step by step on how to setup the Android Ultimate Plugin for unity3d

1. Download the plugin from unity3d asset store 
https://www.assetstore.unity3d.com/en/#!/search/page=1/sortby=popularity/query=publisher:13227

2. Check and import all the files from plugin

3. Download the google play services libraries and support .aar files from this link 
https://drive.google.com/file/d/0Bw14w3QBZaGxek5haDNNeVNTRGc/view

4. uncompress the google play services libraries and support .aar files and put it inside “Assets/Plugins/Android

5. Inside Unity3d go to File Menu, Build Settings and then select player settings and look for other settings
and change the bundle indentifier to your game or app bundle identifier for ex. com.mycoolstudio.awesomegame

6. On Build Settings switch platform to android platform

7. Inside Unity3d in your Project hierarchy go to “Assets/AndroidUltimatePlugin/Scenes” and open the Demo scene

8. Inside Unity3d go to File Menu, Build Settings and then make sure that you added Demo Scene

9. Inside Unity3d go to File Menu, Build Settings and then select Build and Run

10. wait for the build and then check the application if everything is working fine and that’s it.

So Basically it’s just import and then use it unless you want to add more Android permissions or you want to remove Android permissions to do that please read the next topic below.

 

Android Manifest Permissions

To change or remove permissions please check the Android Manifest file inside Assets/Plugins/Android/aup/AndroidManifest.xml

this is some permissions that you will need but they are all inside by default

Internet

<uses-permission android:name=”android.permission.INTERNET” />

Reading And Writing files

<uses-permission android:name=”android.permission.READ_EXTERNAL_STORAGE” />
<uses-permission android:name=”android.permission.READ_INTERNAL_STORAGE” />

For Accessing the Network State this one is also used by GPS

<uses-permission android:name=”android.permission.ACCESS_NETWORK_STATE” />

Flashlight

<uses-permission android:name=”android.permission.FLASHLIGHT”/>
<uses-permission android:name=”android.permission.CAMERA”/>
<uses-feature android:name=”android.hardware.camera”/>
<uses-feature android:name=”android.hardware.camera.autofocus” />
<uses-feature android:name=”android.hardware.camera.flash” />

Camera

<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” />
<uses-permission android:name=”android.permission.CAMERA” />
<uses-feature android:name=”android.hardware.camera” />
<uses-feature android:name=”android.hardware.camera.autofocus” />
<uses-feature android:name=”android.hardware.camera.front” android:required=”false” />

Vibration

<uses-permission android:name=”android.permission.VIBRATE”/>

For Recording Audio

<uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” />
<uses-permission android:name=”android.permission.RECORD_AUDIO” />

GPS

<uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION”/>
<uses-permission android:name=”android.permission.ACCESS_COARSE_LOCATION”/>

Alarm Clock

<uses-permission android:name=”android.permission.WAKE_LOCK”/>
<uses-permission android:name=”android.permission.RECEIVE_BOOT_COMPLETED” />

Accessing Wifi State

<uses-permission android:name=”android.permission.CHANGE_WIFI_STATE” />
<uses-permission android:name=”android.permission.ACCESS_WIFI_STATE” />

Accessing Device information

<uses-permission android:name=”android.permission.READ_PHONE_STATE” />

Getting Accounts on the Device

<uses-permission android:name=”android.permission.GET_ACCOUNTS”/>

Getting Contacts on the Device

<uses-permission android:name=”android.permission.READ_CONTACTS”/>
<uses-permission android:name=”android.permission.READ_PROFILE”/>

Accessing Settings

<uses-permission android:name=”android.permission.WRITE_SETTINGS” />
<uses-permission android:name=”android.permission.WRITE_SECURE_SETTINGS” />

Inside Application Tag you need to have this line

Custom Camera Activity

<activity android:label=”@string/app_name” android:name=”com.gigadrillgames.androidplugin.camera.CustomCameraActivity”></activity>

Local Notification

<receiver android:name=”com.gigadrillgames.androidplugin.notification.NotificationPublisher”/>
<receiver android:name=”com.gigadrillgames.androidplugin.notification.NotificationOnBootReceiver”>
<intent-filter>
<action android:name=”android.intent.action.BOOT_COMPLETED” />
</intent-filter>
</receiver>

<service android:name=”com.gigadrillgames.androidplugin.notification.NotificationService”
android:enabled=”true”
android:exported=”true”>

Alarm

<receiver android:name=”com.gigadrillgames.androidplugin.alarm.AlarmManagerBroadcastReceiver”/>
<service android:name=”com.gigadrillgames.androidplugin.alarm.AlarmService” android:enabled=”true” android:exported=”true”/>

Accessing Google play services

<meta-data android:name=”com.google.android.gms.version” android:value=”@integer/google_play_services_version” />

For Demo APK please go to this link

http://www.gigadrillgames.com/2017/02/04/android-ultimate-plugin-for-unity3d-demo-apk/

And That’s all, thanks for Purchasing Android Ultimate Plugin for Unity3d and more power to you! 🙂

For more questions or suggestions or comments please email us at gigadrillgames@gmail.com

Merging Android Ultimate Plugin 1.7.1 on Google Play Services Part 2

Hi Guys, this is the continuation of my last post, last time we try to used both Android Ultimate Plugin version 1.7.1 with google play services that can be found on this link https://github.com/playgameservices/play-games-plugin-for-unity

and we encounter a lot of errors and we spend almost 2 days on finding a way on how to fix this plugin and libraries conflict and we found out the following check list

  1.  make sure all of your Android Manifest file in your project have the same min sdk value and target sdk value , as in every Android Manifest files search your whole project this usually is the caused of conflicts
  2. make sure your Android Manifest File that is using google play services is using this  meta  <meta-data android:name=”com.google.android.gms.version” android:value=”@integer/google_play_services_version” /> take note do not hardcode the version number and make sure that this meta tag is inside <Application TAG> not inside <Activity TAG>
  3.  if you have a values.xml with gms  with hardcoded version number inside just delete it , this values.xml file will just make everything worst
  4. See to it that the Android Plugin that you are using is using provided instead of compile on their Build.gradle dependency settings for classes.jar which is the jar that came from unity3d app directory. because if this is compile it will conflict on Unity3d Classes.jar because i think unity3d put classes.jar automatic when we build on Android

Some optional checklist that people says on stack overflow, unity3d forum and other forums

  1.  Right now  (  Unity3d version 5.5.1f1 ) the max  Android API support is 23 so delete the build tools and please don’t delete the SDK tools 🙂 just build tools greater than 23 API on your Android SDK.
  2.  Make sure your target SDK on your Android Manifest is declare unless unity3d will used the maximum SDK available on your machine.

And that’s the checklist and now back to using  both Android Ultimate Plugin and Google play services these are the steps

  1.  make sure all Android Manifest on your project is using this min sdk  and target sdk  <uses-sdk android:minSdkVersion=”9″ android:targetSdkVersion=”16″ />
  2.  Unity3d Player Settings should be set to minimum API 9 too
  3.  Make sure you use these exact libraries as of now we tested these and it works
  •  appcompat-v7-23.0.1.aar
  • support-v4-23.0.1.aar
  • play-services-games-9.2.1.aar
  • play-services-base-9.2.1.aar
  • play-services-basement-9.2.1

Note: some of these libraries are included when you import the google play services plugin

you can download these new libraries on this link because Unity3d  asset store for sure will not allow this libraries to be included on the plugin  https://drive.google.com/file/d/0Bw14w3QBZaGxek5haDNNeVNTRGc/view?usp=sharing

More Steps

  1.  check all the project.properties files in your project they all should used the same TargetSDK value if not you will have a conflict and it’s very high
  2.  find any values.xml lurking around with hard coded google play services values inside and delete them they create lot’s of problems
  3.  make sure you don’t have any duplicate Libraries jar,aar files and other library files they will introduce conflict as well.

And then after these changes we successfully build our project with both Android Ultimate Plugin and Google play Services and they work 🙂

The Game Sample with Google Play Services, Admob, Android Ultimate Plugin and Firebase Analytics

https://play.google.com/store/apps/details?id=com.gigadrillgames.fingervsants

here in this game we used both google play services and AUP , on share we use our plugin see it works 🙂

That’s it,  i hope this guide can help you find the problems and the conflict when using more android plugin in Unity3d Projects.

 

Update 02/12/2017

We have encounter some errors when building on xcode

Take Note this errors is came from the google play services not from our plugin to make things clear

For more details please follow read this link

http://www.gigadrillgames.com/2017/02/13/google-play-games-plugin-for-unity3d-possible-fixed-for-xcode-project/

 

for more questions or comments or suggestions just email us at gigadrillgames@gmail.com and if you have time please like our page https://www.facebook.com/gigadrillgames

Thanks for visiting and reading 🙂

 

 

 

 

Android Ultimate Plugin Major Changes 1.7.1 Part 1

Hi Guys! our Android Ultimate Plugin have Major Changes 1.7.1 that’s why I’m making this post today but don’t worry this changes only change the structure and the  way you used the plugin is still the same, so no need to worry 🙂

this is the new structure 1st level  Assets/Plugins/Android – in this directory you will see that we added a new folder called aup  where the android ultimate plugin files will move and we remove the old jars and library that we are using and we added a 5 new .aar files these libraries is our new dependencies so please remember them.

you can download these new libraries on this link because Unity3d  asset store for sure will not allow this libraries to be included on the plugin  https://drive.google.com/file/d/0Bw14w3QBZaGxek5haDNNeVNTRGc/view?usp=sharing

2nd level Assets/Plugins/Android/aup – inside this you will see the Android Manifest, libs folder, project.properties file, res folder and SampleAndroidManifest as you can see this is the same things that you see before the only difference is the AUP.jar now is inside the libs folder and we add the project.properties files to tell Unity3d that this directory is an Android Library.

Note: on res folder there’s a values folder inside and  we remove that reason it’s one of the reason why other plugin is not working when combine with Android Ultimate Plugin because it resets the API id to the old one .

Inside the libs folder you will the AUP.jar which is the jar of Android Ultimate Plugin

Note: please read and remember this new .aar libraries

Because of this changes we need to delete the followings files:

  1. google-play-services_lib
  2. android-support-v4.jar
  3. android-support-v7-appcompat.jar

And we add these new 5 .aar files

  1. appcompat-v7-23.0.1.aar
  2. support-v4-23.0.1.aar
  3. play-services-games-9.2.1.aar
  4. play-services-base-9.2.1.aar
  5. play-services-basement-9.2.1.aar

these .aar files can be found inside your Android SDK  the directory is “YOUR ANDROID SDK ROOT FOLDER”/extras/google/m2repository/com/google/android/gms inside these directory there’s a bunch of libraries see below image for reference. just check each one of them and take note the version is important it should be the same to avoid conflicts or any problem when building your project.

these are the libraries inside that directory and it’s a lot just used get what we need that’s why google make it that way because before everything is in one library (google-play-services_lib) and it’s too many if you just used few of them on your project its just a waste of storage and resources

Next the Support .aar files which is  appcompat-v7-23.0.1.aar and support-v4-23.0.1.aar , you can find it on this directory “YOUR_ANDROID_SDK_ROOT_FOLDER”/extras/android/m2repository/com/android/support inside this folder you will also see a lot of support libraries too, see the image below

during this post my next test is too try to used the google play services plugin from this link https://github.com/playgameservices/play-games-plugin-for-unity i know that most of you is using the same plugin for accessing the google play services, i will update this post or post a new one after my test if our plugin will play nice with it or will have a conflict or not

So that’s it for now , i hope this little information will make everything clear to you guys!

Combining Android Ultimate Plugin and Google Play Services continuation part 2 http://www.gigadrillgames.com/2017/01/31/merging-android-ultimate-plugin-1-7-1-on-google-play-services/

for more questions or suggestions or comments just email us at gigadrillgames@gmail.com

Thanks for visiting and reading Till next time! 🙂

AUP Internet Plugin Internet to get Wifi Strength needs new permission starting from Marshmallow Android 6.0

Hi Guys , I know some of you might ask, why you need to add Access Fine Location or Access Coarse Location on Android Manifest Permission even if we just want to get the Wifi strength well since Android 6.0 (Marshmallow) they change it for more info please read this link https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id

I Hope this Information answer your question

Thanks for reading and visiting!

for more questions or comments or suggestions just email us at gigadrillgames@gmail.com

 

Android Ultimate Plugin Known Issues

Known Issues

Note:This issues is out of our control. because this is mobile hardware and brand specific issues.

1. On Account Info the Account name, phone number and email don’t always show because this is depends on the manufacturer of your
Android device some of them hide it or some of them really don’t put it to avoid other application to get this sensitive information.

2. On Contact Info most of the time it shows but like the above case some Android Device Manufacturer is hiding this or not allowing
other applications to access because again this is a sensitive information.

3. On Account Info some times the email address is shown multiple times because this email address is came from different
source like gmail account, yahoo account and other account that store email address.

4. On Internet Demo some people experiencing some negative WiFi IP, we really don’t know why is this happening
but most of the time everything is working fine.

 

This Issues is to be Fix.

1. when alarm is fired and when application is running and then you quit the application,then you click notification of alarm it will not open the app it will just hang
if this happens you need to force quit the application, still finding solution for this.

2. we just added ability to use from camera but right now it only support when Android Device is in portrait because when orientation is Landscape the image rotation is upside down

3. CameraIntentDemo used the intent camera this feature is still working but there’s a problem on rotation.

 

I hope this information helps you Guys to think if you will buy or not Android Ultimate Plugin.

For Comments or Suggestions or Any Feedback just email us at gigadrillgames@gmail.com

 

Android Ultimate Plugin Change logs

Hi Guys, this information will show you what changes, what feature is added, what feature is remove and some other updates on Android Ultimate Plugin. this post will be updated every time we release a new build or version.

Version: 1.0
Date: 6/10/2015

Initial Features:
1. Local Notification
2. Screen Shot and Share Image
3. Share Text
4. Immersive mode
5. Voice Audio Recorder with modify pitch option
6. Google Search App Indexing
7. GPS
8. Get Android Package Id at run time
9. Get Android Version at run time.
10.Get Battery Life percentage
11.Flashlight
12.Nomal Vibration
13.Vibration with pattern
14.Native Loading UI
15.Native Rate my app popup
16.Native Alert Popup
17.Native Toast Message

Version: 1.1
Date: 6/28/2015

New Features:
1. Speech to Text
2. Text To Speech
3. GPS (Improved)
4. Get Battery Life Percentage (Improved)

Version: 1.2
Date: 7/10/2015

New Features:
1. Bluetooth communication + tictactoe example

Version: 1.3
Date: 7/12/2015

Changes:
Remove GameObject requirements for recieving events (via gameobject)
Replace by Callback for Recieving events (via code)

Features using this new callback events

1. Bluetooth
2. GPS
3. Battery
4. Speech Recognizer

you can now select specific features to use unlike before that everything is in one place.

Features that is standalone

1. Bluetooth
2. Battery
3. Audio recorder
4. Flashlight
5. Vibrator
6. GPS

Version: 1.3.1
Date: 7/16/2015

make other major features to be independent from main plugin, you can now used specific
features without adding other permission to manifest even if your not going to use them
but make sure to add permission which you really used for example vibrator don’t forget to
add vibrator permission.

1. VibratorPlugin
2. AudioRecorderPlugin
3. BluetoothPlugin
4. FlashlightPlugin
5. GPSPlugin

Version: 1.3.2
Date: 7/18/2015

added more independent Plugin

1. SpeechPlugin

Version: 1.3.3
Date: 7/25/2015

1. Set One Time Alarm
2. Set Repeating Alarm
3. Set Alarm with Interval

Version: 1.3.4
Date: 7/28/2015

1. Camera – Take Picture using camera and then share it on social applications

Version: 1.3.5
Date: 7/31/2015

1. Image Picker – get image from device and then share it on social applications
2. Get Existing Texture from unity3d and then share it on social applications

Version: 1.3.6
Date: 8/01/2015

1. Get Android ID
2. Get Telephony Device ID
3. Get Telephony Sim Serial Number

Version: 1.3.7
Date: 8/02/2015

1. Get Android advertising ID
2. Generate Unique ID

Version: 1.3.8
Date: 8/04/2015
1. Download Image from web then share it

Version: 1.3.9
Date: 8/10/2015

Added name space to utils which is AUP to avoid conflict with other c# script with name Utils

Version: 1.4.0
Date: 8/14/2015

Added Internet information details

1. Get Wifi IP
2. Get Wifi SSID
3. Get Wifi BSSID
4. Get Wifi Rssi
5. Get Wifi Speed in MBS
6. Get Wifi Signal Strength
7. Check if Wifi Connected
8. Check if Mobile Connected
9. Check if Wifi Connection is Fast
10. Check if Mobile Connection is Fast

Version: 1.4.1
Date: 8/15/2015

Improved Text to Speech added more features and events

1. Text To Speech Set Locale ex. US,UK,Japanese (20 selections)
2. Text To Speech Set Pitch
3. Text To Speech Set Speech Rate

note: this events only works on android API 21 (Lollipop 5.0)
4. Text To Speech added Events OnStartSpeech,OnDoneSpeech and OnError

Version: 1.4.2
Date: 8/19/2015

getting account info

1. Get Account Emails
2. Get Account Name

Version: 1.4.3
Date: 8/23/2015

getting Contact info

1. Get Contact Name
2. Get Contact Phone

Version 1.4.4
Date: 8/30/2015

Note: this changes are made for improvement and optimization

1. Remove AndroidUltimateController
2. added new Main Class SharePlugin
3. added new Main Class BatteryPlugin
4. added new Main Class LocalNotificationPlugin
5. added new Main Class TimePlugin
6. added new Main Class AppIndexingPlugin
7. you can now save Screen Shots on Picture folder or DCIM folder
8. Android Device Info can get Phone Number now,but some times empty
9. Account Info can get Phone Number now,but some times empty

Version 1.4.5
Date: 9/01/2015

added new features on text to speech

1. get Available locale on device
2. set locale available on device

Version 1.4.6
Date: 9/03/2015

1. fixed bug on flash light it will not check if flash light features is available on other android device
2. added new image picker intent to be able to pick images from different app

Version 1.4.7
Date: 9/15/2015

1. improvement for getting contact number on device (note: known issue some android device wont give this information it depends on device manufacturer)
2. allow local notification to fire even the application is currently running
3. remove google play services library (license issue) you need to download it form google developer website
and added How To use Text file, this file will tell you on how to setup and use this plugin.

Version 1.4.8
Date: 09/25/2015

1. added custom camera you can now take photo repeatedly and acquire set of paths for you to access them.

Version 1.4.9
Date: 10/04/2015

1. added speed, altitude and bearing information on GPS (note: this information is depends on your device this is not always available)
when you received 0 and it never changed value meaning this information is not available on your device

version 1.5.0
Date: 10/31/2015

note: camera is restarting since android os is updated to lollipop but dont worry there’s new camera which can take multiple picture

1. added cancel local notification

version 1.5.1
Date: 11/20/2015

1. added is speaking method for tts for checking if tts engine is speaking
2. added some fixed for tts when onprogrss and ondone speaking is not called
3. added check for tts data activity if available to prevent other android device to stop unexpectedly.

version 1.5.2
Date: 12/25/2015

1. added front camera access on custom camera but right now its for portrait only.
2. added method on UtilsPlugin for checking Always Finish Activity if 0 it is disable, if 1 is it enable

version 1.5.3
12/24/2015

Changes:
1. added google play services demo and controller for google play services plugin from popular open source google play sevices plugin for unity3d on github
https://github.com/playgameservices/play-games-plugin-for-unity
(note: all script related to this is commented out just add the google play game services if you to try it at your own risk because google play services
is always changing it might work or not work)

version 1.5.4
12/30/2015

Changes:
1. you can now schedule multiple local notifications
2. you can now cancel specific shedule local notification
3. created seperate Demo canvas for presentation of updated local notification
4. remove local notification demo on Share and Experience Demo canvas

version 1.5.5

2/25/2016

changes:

1. local notification improvement now local notification has its own local sql database this is use to save and load notification
because when device is turn off all scheduled notification will be erase that’s how android os works that’s why we made this
improvement now you notification will stay scheduled as long as they are not fired or expired.

2. added runtime permission request for camera plugin this is the start of migrating of this plugin to Marshmallow and above version.
we do this because user can always revoke permissions, if you are is using camera and permission is revoke it will crashed starting
from API 23 Marshmallow Android OS. here’s some link for those information https://www.android.com/versions/marshmallow-6-0/

version 1.5.6

04/07/2016

1. added flashlight Permission for marshmallow
2. added gps Permission for marshmallow
3. added vibrator Permission for marshmallow
4. fixed extra locale for TTS you can now use some more locale language but it depends on device
5. added volume controll for TTS and Speech Recognition

version 1.5.7

04/30/2016

1. added marshmallow permission for reading Account info
2. added marshmallow permission for reading Contact info

version 1.5.8
06/07/2016

Changes:
1. Refactor Text to speech
2. Refactor Speech Recognition
3. Add Extra Language on Speech Recognition but its depends on mobile devices it may work or not work

version 1.5.9
07/04/2016

note: you code might changed just a little bit but it’s for the good 🙂

1. Added Specific Notification, you can now notification on specific time ex. 1:30:20 – hour:minute:sec
2. Notification shows now even your application is running.
3. Added Callback for Notification load Notification this will send you the list of request code(s) that you used to schedule the notification
you can now you this to cancel specific pending notification any time.
4. Added Callback for Alarm load Alarms this will send you the list of request code(s) that you used to schedule the alarm notification
you can now you this to cancel specific pending alarm notification any time.

version 1.6.0
07/12/2016

1. added TTS demo2
2. added Speech Recognizer demo2
3. Added Extra Speech Locale for Speech Recognizer you can now speak using your native language but
take note not every language is always available on device so if may work or not work. it depends on your
device always.
4. drop support for Unity3d 4.6.3 only supports the latest version

version 1.6.1
08/21/2016

1. added StatListening with extra settings on Speech Recogniser to modify waiting time to listen and wait but take note this new method is not advisable to use use at your own risk it’s base on the developer documents

2. added enable and disable sound on Alarm Clock
3. added enable and disable vibration on Alarm Clock

version 1.6.2
08/28/2016

1. added enable and disable beep on speech plugin
2. added enable and disable modal on speech plugin

note: on marshmallow tts will have some problem to see what’s going on read this
https://code.google.com/p/android/issues/detail?id=80696

version 1.6.3
09/05/2016

1. added Accuracy on GPS plugin Info
2. added Distance In Meters on GPS plugin info – this is the distance from last point to current point
3. remove Google Indexing because it cause lots of error and bugs usually to other user of the plugin
4. Update the How to use text file

version 1.6.4
09/12/2016

1. added Nmea Listener on GPS plugin to get timeStamp (long) and nmea (string)

version 1.6.5
09/16/2016

1. added offline mode on Speech Recognizer (Note: based on our test this works but it will use english only)
2. added Partial Results on Speech Recognizer (note: some times working and sometimes not working but this is expected behavior based on
Android Developer Documentation )

version 1.6.6
09/17/2016

1. Refractor GPS plugin for improvements
2. Added Start GPS (you can now stop and start gps any time)

version 1.6.7
10/15/2016

1. Added Dispatcher for almost all callback on the demo and examples
this dispatcher is very important because this callback needs to run on
MainThread of unity3d without doing this you might encounter some issues

2. Modify the Speech To Text Demo remove the Text to Speech inside to make it simple and
more easy to understand

3. Organize the plugin files

4. Note: i know some of you encounter some crashed or error on issues when running on
Samsung Android Phone starting Android OS MarshMallow the reason for this is the Samsung
TextToSpeechEngine have error and bug to fix this just follow this link

AUP TextToSpeech Issues 2016 – Samsung TextToSpeech Engine Bug!


To make it short use Googel TextToSpeechEngine don’t use Samsung TextToSpeechEngine

5. Note: Starting from Android Marshmallow to get Wifi Strength you need to add new permission which is
the Access Fine Location or Acces Coarse Location on Android Manifest without doing this you will never get
Wifi Strength. for more info follow this link

AUP Internet Plugin Internet to get Wifi Strength needs new permission starting from Marshmallow Android 6.0

version 1.6.8
12/07/2016

1. added Media Scanner plugin this one will help you refresh the photo gallery to show your new photo using custom camera and screen shots

version 1.6.9
12/08/2016

1. added SharedPref Plugin to save and load to android sharedpref

version 1.7.0
01/27/2017

1. fix the error when you run the plugin on the development build

version 1.7.1
01/29/2017

1. fix the error when you run the plugin on the development build for battery plugin
2. Major Changes on Android Plugin directory structure our plugin now is inside the Assets/Plugins/Android/aup
and inside it arrange

AndroidManifest
libs
project.properties
res
SampleAndroidManifest

Require aar library
appcompat-v7-23.4.0.aar
support-v4-23.4.0.aar
3. no need for the old google play services sdk in your project

for more information on these changes please visit this link

Android Ultimate Plugin Major Changes 1.7.1 Part 1

version 1.7.2
02/08/2017

add local notification new features

1. ScheduleEveryDay
2. ScheduleAfterDay
3. ScheduleShortTime
4. ScheduleLongTime

version 1.7.3
02/27/2017

1. added alarmAftterDay
2. Android ID MD5 3 types – normal,md5 type1, md5 type2
3. change android id to secure android id

version 1.7.4
04/30/2017

1. Added Image picker for getting 2 or more images at once
2. Change Structure the of Image Picker Main class
3. Added Image Picker Demo 2
4. Added Setting up Calling package for Speech Recognizer

version 1.7.5
05/10/2017

1. move the audio controller that is used by TTS and Speech Recognizer to utils plugin
2. fixed bug on Auto Max volume after using listen with no beep on Speech Recognizer
3. remove get contact info on demo reason suddenly it breaks because of the new updates on Androis OS
we still finding away to fix this but it seems it’s not allowed any more’

I hope this information helps you guys!

For comments or suggestions or any feed back just email us at gigadrillgames@gmail.com

Integration of Android Ultimate Plugin with Google Play Games plugin for Unity Guides and Steps

Hi Guys, I know you want to use google play services plugin while using Android Ultimate Plugin or Android Ultimate Plugin Lite  and here’s the Steps and Guides

if you are using this open source Google Play Games plugin for Unity you are lucky because we finally able to use it together with our plugin
https://github.com/playgameservices/play-games-plugin-for-unity

To make Android Ultimate Plugin or Android Ultimate Plugin Lite to work with Google Play Games Services Plugin you need to follow and do this steps

For Unity3d Version 4.6.3f1

1. Back up and delete the android-support-v4.jar file on Assets/Plugins/Android/ Directory because Google Play Games plugin for Unity has already have this jar file

2. import Google Play Games plugin for Unity from https://github.com/playgameservices/play-games-plugin-for-unity

3. follow the instructions on their github https://github.com/playgameservices/play-games-plugin-for-unity

4. follow their documentation on how to use their plugin

5. Build and run and you are good to go

For Unity3d Version 5 and above

1. Back up and delete the android-support-v4.jar file on “Assets/Plugins/Android/ ” Directory because Google Play Games plugin for Unity has already have this jar file

2. Back up  and delete the android-support-v7-appcompat.jar file on Assets/Plugins/Android/ Directory because Google Play Games plugin for Unity has already have this jar file

3. Back up and delete Android Ultimate Plugin.jar file or Delete Android Ultimate Plugin Lite.jar then download this jar https://drive.google.com/file/d/0Bw14w3QBZaGxQS1qYnJGYnFCeDg/view?usp=sharing and put it inside “Assets/Plugins/Android/” Directory

4. import Google Play Games plugin for Unity from https://github.com/playgameservices/play-games-plugin-for-unity

5. follow the instructions on their github https://github.com/playgameservices/play-games-plugin-for-unity

6. follow their documentation on how to use their plugin

7. Build and run and you are good to go

Notes: if you are not using Google Play Games plugin for Unity  anymore please make sure to put back  this jar files inside “Assets/Plugins/Android/ ” Directory because Android Ultimate Plugin needs that.

1.  android-support-v4.jar

2.  android-support-v7-appcompat.jar

3. if you are using Unity3d version 5 copy and paste the Android Ultimate Plugin.jar or Android Ultimate Plugin Lite.jar  file again

and that’s it , I hope this Guides and Steps helps you out if you are having problem using Google Play Games plugin for Unity with Android Ultimate Plugin or   Android Ultimate Plugin Lite.

if you have any comments or questions? just email us at gigadrillgames@gmail.com together with your invoice id that you received  when you bought the plugin from Unity3d Asset Store.

Thanks for visiting and reading!

Happy Coding!