playMaker

Author Topic: [Released] Android Native Plugin  (Read 21254 times)

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
[Released] Android Native Plugin
« on: June 15, 2014, 09:17:00 AM »
Android Native for Unity just Released:
For more information have a look at:
Online Documentation Link | Asset Store Link



Plugin provides the easy and flexible functionality of Android native functions which are not available from Unity, including in-app purchases, play service native alerts. Package architecture is similar to IOS Native package
The plugin comes with complete documentation and a sample scene to get you started immediately!

Play Service: (Android 2.3+ required)
  • Detailed set up instructions
  • Google Cloud
  • Leader-boards
  • Achievements
Billing:
  • Set Up instructions
  • In-App purchases
  • Fully documented and super easy to use
Google Mobile Ad: (Android 3.2+ required)
  • Set Up instructions
  • All banners supported
  • Interstitials supported
  • Fully Documented
Google Analytics:
  • Advanced Configuration
  • Measuring Events
  • Measuring In-App Payments
  • User timings
  • Fully Documented
More Features:
  • Toast Notification
  • Push Notifications (beta)
  • Rate Pop-up
  • Dialog Pop-up
  • Message Pop-up

v 1.7
  • Ad mob
  • Toast Notifications
v 2.0
  • Google Analytics
  • Google Mobile Ad
v 2.3
  • Facebook and Twitter


Tutorial Videos:
Sorry, for misspelling and accent . English isn't my native language. but I am keep practicing :)




First implementation of Playmaker actions was added in the Android Native plugin (Asset Store Link) few weeks ago.
I am not using Playmaker in my game. With means I do not know what Playmaker users what. So I really appreciate you review. Please feel free to pos here

Bug Reports
Feature Request
General Thoughts - how to improve Playmaker actions implementation for Android Native


The current actions list is:

Billing
  • AN_initBilling
  • AN_Purchase
  • AN_Consume
  • AN_PurchaseAndConsume
PlayService
  • AN_PlayServiceinit
  • AN_ReportAchievement
  • AN_ShowAchivmentsUI
  • AN_ShowLeaderboards
  • AN_ShowLeaderboardUI
  • AN_SubmitScore
NativePopUps
  • AN_DialogPopup
  • AN_MessagePopup
  • AN_RatePopup
  • AN_ShowPreloader
  • AN_HidePreloader
Google Mobile Ad
  • AN_InitGoogleAd
  • AN_SetAdTargeting
  • AN_SetAdTestDevices
  • AN_CreateBanner
  • AN_DestroyBanner
  • AN_HideBanner
  • AN_ShowBanner
  • AN_RefreshBanner
  • AN_StartInterstisialAd
  • AN_LoadInterstisialAd
  • AN_ShowInterstisialAd

Note: If you need urgent help with the plugin, please send e-mail to stans.assets@gmail.com
Answer on forum thread may take around 1-3 days.
« Last Edit: June 15, 2014, 10:07:49 AM by lacost »

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #1 on: June 21, 2014, 05:35:28 AM »
AndroidNative v 3.9 just released.



New Features:
Package Info Load API
PlayMaker Actions Updated
AndroidInAppPurchaseManager, state flags added

Fixes:
GooglePurchaseTemplate, originalJson retrieval fixed.
Manifest comment more clear now
Leaderboard Custom GUI
 
Code Refactor:
Removed:
Assets/Extensions/AndroidNative/Other/Twitter
All Scene under xExample/Scenes Moved to corresponding folder
only Preview Scene should be under  xExample/Scenes

Added:
Assets/Extensions/GooglePlayCommon/Social/Twitter/Manage

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #2 on: July 21, 2014, 10:26:13 AM »
AndroidNative v 4.1 just released.



New Features:
RTM multiplayer added

Play Service new features:
  • GooglePlayConnection.instance.connect (accountName);
  • GooglePlayManager.instance.LoadTocken();
  • GooglePlayManager.instance.LoadTocken(accountName, scopes);
  • GooglePlayManager.instance.InvalidateToken(token);
  • GooglePlayManager.instance.RetriveDeviceGoogleAccounts();
  • GooglePlayManager.instance.resetAchievement(achievementId);
  • GooglePlayManager.instance.resetLeaderBoard(leaderboardId);

Refactor:
  • showAchivmentsUI - > showAchievementsUI


New PlayMaker actions

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #3 on: August 03, 2014, 09:00:05 AM »
AndroidNative v 4.2 just released.



New Features:
  • Twitter Application-only API added
  • Facebook Leaderboards API added
  • Facebook Likes API added
  • AndroidSocialGate SendMail method added
  • AndroidNotificationManager CancelLocalNotification method added
  • Billing Example Scene improved

Fixes:
  • Twitter Auth Fixed
  • Play Service auth bug fixed when no Play Service available on device
  • Play Service Example scene (Submit Score button) fixed

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: [Released] Android Native Plugin
« Reply #4 on: August 12, 2014, 04:45:22 PM »
Hi
Can you show image with PlayMaker Actions?.



lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #5 on: August 25, 2014, 07:26:15 AM »
AndroidNative v 4.3 just released.



New Features:
    Editor settings improved
    Simple JS use example added. UseAPIFromJSExample scene.
    CustomLeaderborUIExample example scene updated
    CustomLeaderborUIExample_old example scene removed
    AndroidSocialGate.SendMail function now can work with multiple recepients

New Play Maker Actions:
    AN_GetImageFromCamera
    AN_GetImageFromGallery
    AN_SaveImageToGalalry
    AN_SaveScreenshotToGallery
    AN_RetriveProductInfo
    AN_PlayServiceDisconnect
    AN_PlayServiceInit -> Renamed to AN_PlayServiceConnect
Refactor:
    GooglePlayManager: GetAchievementd -> GetAchievement
Fixes:
    Fixed exception when loading empty state from google cloud
    WP8 Build issues caused by RTM_Game_Example fixed

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #6 on: September 12, 2014, 08:37:25 AM »
AndroidNative v 4.5 just released.



Updates:
  • Documentations updated
  • New Play Maker Actions added
  • Native Pop ups now can be dismissed by back button
  • AndroidNotificationManager API changed
  • ScheduleLocalNotification(string title, string message, int seconds) to ScheduleLocalNotification(string title, string message, int seconds, int id)
  • CanselLocalNotification(string title, string message) to CanselLocalNotification(int id)
New Features:
GooglePlayManager:
  • currentAccount getter added
  • ResetAllAchievements() method added
  • UpdatePlayerScore(leaderboardId, span, collection) method added
  • SCORE_UPDATED event added
AndroidSocialGate:
  • Now if external storage not available - Local app Cache + FileProvider will be used to share images.
AddressBookController:
  • Action OnContactsLoadedAction added
Minor Settings Editor Improvements

Fixes:
  • Adding FB default Scopes fixed
  • resetAchievement fixed
  • resetLeaderBoard fixed

Refactor:
  • GooglePlayManager.SCORE_REQUEST_RECEIVED -> GooglePlayManager.SCORE_UPDATED
« Last Edit: September 12, 2014, 09:02:35 AM by lacost »

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #7 on: September 25, 2014, 08:12:41 AM »
AndroidNative v 4.6 just released.



New Features:
  • Build Post Processing added
  • AndroidNativeUtility.instance.RunPackage(string packageName);
  • AndroidNativeUtility.instance.CheckIsPackageInstalled(string packageName);
  • SPFacebook C# Actions Added
  • AndroidTwitterManager C# Actions Added
  • Google Play Leaderboards not accept and return long instead int
Saving To Gallery:
  • You now can specify gallery folder for your game
  • SaveImageToGalalry - image name param added
  • SaveScreenshotToGallery - image name param added
  • OnImageSaved Event / Action added + you can retrieve image Url
Local Notifications:
  • Notifications Id Factory added
  • Ability To cancel all notifications
  • Ability to get pending notifications list
  • Now you can find out notification id, which was used to launch the app
New PlayMaker Actions:
  • AN_RunAp
Fixes:
  • Gallery Refresh After Photo added fixes
« Last Edit: September 25, 2014, 08:42:55 AM by lacost »

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: [Released] Android Native Plugin
« Reply #8 on: September 25, 2014, 09:58:39 AM »
GREAT Plugin the support is awesome.

BUT we really need example of how to use the playmaker action. (Or just a comment in the section 'comment of playmaker atcion').

:)

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: [Released] Android Native Plugin
« Reply #9 on: September 25, 2014, 03:31:55 PM »
Example scenes would be great - like copies of the regular example scenes.

A lot of them are easy to use, but the Google Play Gifts actions are baffling, and don't seem to do anything.

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: [Released] Android Native Plugin
« Reply #10 on: September 25, 2014, 03:57:54 PM »
+1

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: [Released] Android Native Plugin
« Reply #11 on: September 30, 2014, 12:18:59 AM »
Hey! GREAT plugin!
However, i'm don't know how to use the Playmaker Actions.
Can you explain the order of how to use the actions for sign in? just one?

-Play Service Connect (of course is a first action to call when try to sign in)

-What really doest the check connection?

-What action have to call back to use other actions to unlock an achievement for example?

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #12 on: October 06, 2014, 05:12:39 PM »
AndroidNative v 4.7 just released.



New Plus API methods:
  • GooglePlusAPI.instance.clearDefaultAccount();
Ad Mob:
  • API now supports C# Action
New PlayMaker Actions:
  • AN_ISProductPurchased
  • AN_ClearDefaultAcc
  • AN_CancelAllLocalNotifications
  • AN_CancelLocalNotification
  • AN_ScheduleLocalNotification
  • AN_ShowToastNotification
Other:
  • Post Proces Script improved


xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: [Released] Android Native Plugin
« Reply #13 on: October 06, 2014, 10:12:14 PM »
GREAT!
can you add a chartboost support :)

lacost

  • Playmaker Newbie
  • *
  • Posts: 46
Re: [Released] Android Native Plugin
« Reply #14 on: November 06, 2014, 06:22:53 PM »
AndroidNative v 4.9.1 just released.



New Features:
  • Google Play Saved Games API. Read more: http://goo.gl/k0v8zT
  • Google Analytics API migrated to v4.
  • Ability to enable / disable separate APIs.
  • Editor Setting improvements.
  • Google Play API.
  • Native Popups API.
  • Google Drive API disabled by default.
In-App Purchasing API:
  • C# Actions added, now you can choose between using C# Actions or FL event system.
Updates:
  • Google Play SDK updated to v 6111000.
  • Android native jar spliced, now you can choose API to include in your project.
Refactor:
  • Flash Like event system now use own namespace: UnionAssets.FLE
Fixes:
  • Twitter profile background loaded bug fixed.
  • Max photo size limit fixed.
  • In apps Fail event fixed.
  • Playmaker Action compilation fix.
  • Notifications Manager minor fix.
  • Editor setting version parsing fixed.