=====================================
==== Ask us anything on our Discord server! ====
====================================
Advantages:
Features:
★ APP INTERACTION ★
• Show all alarms, set the alarm with all properties, or set timer
• Open other apps by package, watch YouTube video in native app
• Create a calendar event with all required params or open calendar app on the provided date
• Dial or directly call a phone number, and check if the user has a phone app.
• Open maps location, address, check if the user has a maps app
• Open any system settings screen
• Native share text, text+image, video, tweet, email, send SMS, etc, check if the user has Twitter, SMS, or email app installed
• Share directly to the most popular messaging apps
• Pick a photo from the gallery app, save the picture to the gallery
• Take a photo with the camera and get the image
• Video, sound, or arbitrary file picker.
• Contact picker
• Copy text to clipboard
• Print images and HTML documents
★ Local notifications ★
• Support for various styles (messaging, inbox, big text, big picture and many many more)
• Scheduling and scheduling repeating notifications
• Cancelling by id or all at once • Manage notification channels and channel groups
• Pass custom data with the notification
• Check if the app was open via a notification (if it wasn't running)
★ Native UI ★
• Showing native alert dialogs with buttons/radio buttons/checkboxes
• Showing date/time picker
- Show spinner/horizontal progress bar
• Showing toasts and immersive mode methods.
• Set wallpapers from file/texture, set with crop, and reset wallpaper to default.
★ Retrieving Info ★
• Various methods to get various info about devices and apps (android.os.Build, android.os.Build.Version) and other
• Access to some android.os.Environment properties and methods
• Internet connectivity and wifi-related methods
• Telephony-related methods
★ Hardware ★
• Get device battery charge level
• Enable and disable camera flashlight (as a torch), check if the device has a flashlight
• Listen to GPS location changes with all the detailed GPS data, check if GPS is enabled, and get the last known location
• Check if the device has a vibrator, vibrate or vibrate pattern, support for new vibration effects API Other
• Method to save Unity Texture2D to gallery
• Fingerprint authentication and fingerprint data encryption/decryption
★ Other ★
• Manage and request Runtime Permissions
• Manage SharedPreferences the native way.
Android is a trademark of Google LLC.
## v1.8.5
- FIXED Notifications on modern Androids
## v1.8.4
+ FIXED Wallpaper issues on Android API 31+
+ IMPROVE Cleanup the codebase
+ FIXED Location method changes on the newest Android versions
---
## v1.8.3
+ IMPROVED Notification scheduling - notifications not arriving at correct time
+ IMPROVED Wallpaper type setting
+ FIXED Setting notification icons for newer Unity versions
+ IMPROVED Picking multiple images improvements
---
## v1.8.2
+ FIXED Saving image to the gallery not working on newest Android versions
+ IMPROVED Clean up source code a bit
---
## v1.8.1
+ FIXED Strange crashes when calling `getImportance` method.
+ FIXED Printing HTML functionality
---
## v1.8.0
+ FIXED File providers path now includes all the files. This fixes certain issues like opening PDF files.
+ IMPROVED Demo for video picker
+ ADDED `AGContext.cs` file to access files dir
+ REMOVED Google dependency manager from the package, `Dependencies.xml` files is still present.
+ FIXED Various picker bug fixes and improvements
---
## v1.7.1
+ ADDED Method to send SMS in background. See `AGShare.SendSmsSilently()`
+ IMPROVED `AGUIMisc.ShowStatusBar()` now accepts the color as a parameter
+ FIXED audio and file picking on Android Q
---
## v1.7.0
+ IMPROVED Plugin now uses Play Services Resolver plugin for Android dependencies resolution. Read more: https://github.com/googlesamples/unity-jar-resolver
---
## v1.6.4
+ FIXED Proguard configuration included with plugin aar files
+ FIXED Issue with picking video from camera
+ FIXED NPR when picking some files
+ FIXED Issue with `AGGPS.RequestLocationUpdates()` params validation
+ IMPROVED Write external storage is no longer required for sharing images
+ ADDED `AGPrintHelper` class for images and HTML pages printing
---
## v1.6.3
IMPORTANT! In this version the provider in AndroidManifest.xml that is required for image/camera/sharing etc. is now moved to library and is no longer required in your AndroidManifest.xml. So delete the provider from your AndroidManifest.xml.
WARNING! Minimal supported version of Unity Editor is now 2017.1.5f1.
## v1.6.2
+ IMPROVED Added runtime permission checks inside methods that require them
+ IMPROVED Picking images no longer requires WRITE_EXTERNAL_STORAGE_PERMISSION
+ IMPROVED Now notification params can be extracted even when app was brought to foreground
+ FIXED Picking images from Downloads folder on Android 8 or higher
+ FIXED scheduling multiple notifications issue with showing only the latest one
---
## v1.6.1
+ UPDATED The provider authority is not using ${applicationId} placeholder `AndroidManifest.xml`
+ ADDED the OpenPdf method to `AGApps.cs`
+ FIXED the behaviour of some sharing methods in `AGShare.cs`
---
## v1.6.0
+ ADDED Support for Launcher shortcuts (Check new `AGShortcutManager.cs`).
+ ADDED Method to show available WI-FI networks `AGNetwork.ShowAvailableWifiNetworks()`, methods to enable/disable WI-FI, connect/disconnect to known WI-FI networks.
+ ADDED methods for status bar hiding/showing to `AGUIMisc.cs`.
+ UPDATED `AGTelephony.cs` with new methods and properties.
+ UPDATED `AGBattery.cs` with new properties.
+ ADDED methods for hiding/showing of the application icon in the Launcher to `AGUtils.cs`
+ UPDATED `AGDateTimePicker.cs` with method for picking a date within a limited range
+ UPDATED `AGWallpaperManager.cs`, so it now supports lock screen management on devices with API level 24+
+ ADDED the possibility to work with image tags via ExifInterface (see `AGExifInterface.cs`)
---
## v1.5.0
+ ADDED Support for new vibration effects API!
+ ADDED Support for new notifications API (Check new `AGNotificationManager.cs`).
* Now create and manage channels and channel groups
* Pass data along with notification and check if app was opened with notification
* All possible UI options for notifications you can imagine, let me know if something is missing
+ ADDED Feature to check the SIM card state `AGTelephony.CurrentSimState`
+ ADDED method to check if user has camera app installed before picking photos
+ ADDED Altitude to the location object returned by GPS
+ UPDATED Android Support Library to version 27.1.1ed by GPS
+ UPDATED Android Support Library to version 27.1.1
---
## v1.4.1
This release introduces fixes and internal changes:
FIXED Notifications not working on Android O and above
FIXED Migration problem with Application.bundleIdentifier -> Application.identifier for older Unity versions
CHANGED Now minimim SDK version is 14 not 10!
CHANGED Replaced one support-v4 jar with modular new support libs (See Plugins/Android folder)
CHANGED Now all files picked images/photos/audio/camera etc. are stored under external storage app directory so these files will be ones that get deleted first when the device runs low on storage and there is no guarantee when these files will be deleted. Previously these files were stored directly in external storage public directory like.
---
## v1.4.0
ADDED Fingerprint scanner functionality (See `AGFingerprintScanner.cs`)
FIXED Issue when references to demo scripts were sometimes lost in example scene
FIXED Tweeting not working due to Twitter renaming their activity all the time
FIXED Some dialogs not working properly when bytecode stripping is enabled
---
## v1.3.0
ADDED Method to make newly added image file to appear in the gallery
ADDED Method to get Ethernet MAC address (useful for AndroidTV)
IMPROVED Added proguard configuration to avoid stripping plugin class when using proguard
FIXED Some methods crashing on older Android versions (`AGFileUtils.DataDir`)
FIXED Issue with dialogs dismissing
---
## v1.2.2
FIXED Cleaned up some files
---
## v1.2.1
ADDED Severla methods to `AGFileUtils.cs` class to get app cache and other directories
ADDED `AGMediaRecorder.cs` class record audio files
ADDED `AGWallpaperManager.cs` class to set device wallpaper images
ADDED Method to copy text to system clipboard
---
## v1.2.0
IMPROVED When showing dialog in immersive mode the app stays in immersive mode
IMPROVED Adde more options for local notifications (color, small icon etc.)
IMPROVED Now local notifications can be scheduled in the future
ADDED Support for repeating local notifications
ADDED Picking audio files from device. See `AGFilePicker.cs`
ADDED Picking video files from device. See `AGFilePicker.cs`
ADDED Picking arbitrary files by specifying mime type. See `AGFilePicker.cs`
ADDED Recording video file from camera and receiving it. See `AGCamera.cs`
---
## v1.1.10
FIXED Incorrect orientation when receiving the taken photo
FIXED Sharing in Twitter not working after Twitter updated composer activity class
FIXED When saving screenshot image filename extension is added automatically now
IMPROVED Creating calendar event not working on some devices properly
---
## v1.1.9
BBREAKING CHANGES: Photo and image pickers have now different method signatures, please check the examples
ADDED Function to send MMS
ADDED Functions to get/set system screen brightness
ADDED Functions to open 'Can modify system settings' system screen where user can allow app to modify system settings
CHANGED Completely reworked pickers to make them more reliable
---
## v1.1.8
ADDED Contact picker to pick contacts from address book
ADDED Options to use Intent.ACTION_OPEN_DOCUMENT for image picker
ADDED Method to load image into `Texture2D` provided with string Android URI
ADDED Method to open Facebook and Twitter user profile by profile ID
ADDED Time Picker - now can choose if to show 24h or 12h format
FIXED Image display name not being correct when picking image
FIXED Scaling issues when picking image from gallery
---
## v1.1.7
ADDED options to send text/image directly via Facebook Messenger, WhatsApp, Telegram, Viber, SnapChat
ADDED Feature to open instagram profile in the native app
ADDED Feature to uninstall the app by package
ADDED Feature to intall the APK file from SD card
FIXED Minor bugs in the editor
---
## v1.1.6
- Minor bug fixes and improvements
---
## v1.1.5
- ADDED support for native SharedPreferenced (get, set, clear all, get all)
- ADDED Method to get installed packages on device `AGDeviceInfo.GetInstalledPackages`
- ADDED Method to share/upload video to YouTube/Facebook etc. `AGShare.ShareVideo`
- FIXED Flashlight not always working on latest android versions
---