Search Feedback

314
votes

Provide UnityPlayerActivity events for Unity Android

Platforms

-

-

Plugins extending UnityPlayerActivity are a problem for developers. Plugins forced us to set their Activities as the MAIN, but when we have several plugins wanting to be the MAIN activity here start the mess.

Here a share a repository where a possible solution can be for this. And it would be a great help if Unity provide us this feature of listening UnityPlayerActivity events.

This will help us not to merge plugins with an own implementation of UnityPlayerActivity.

Please be free to check the possible solution repo.

https://github.com/MartinGonzalez/UnityPlayerActivityListener

And thanks for your time!

Comments (4)

  1. C7cd35f62ace279611e2a89430049183?d=mm

    tperezstolfa

    Apr 16, 2018 16:57

    This would be a great feature, android integrations bring a big headache when you have more than one plugin that needs to use the main activity

  2. E8c9c5e2446d91dae472f958c9a58430?d=mm

    lucasmonje

    Apr 16, 2018 14:53

    Great Job! Is a big idea to solve it.

  3. 137d5e85359443493b543d2e5a438954?d=mm

    sadasd123123

    Apr 16, 2018 14:47

    This rocks! We've actually implemented something similar to overcome this kind of problems. I think Unity should take this seriously and integrate this feature right in the Framework.

  4. 6556550161c1d045c5ed4f6b441f2500?d=mm

    eterdani

    Apr 16, 2018 12:39

    This is definitely a clean solution to a recurrent problem when developing for Android. Hope it gets implemented.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10085)

2D

(266)

Ads

(66)

AI & Navigation

(81)

Analytics

(120)

Animation

(370)

Asset Store

(279)

Assets

(513)

Audio

(172)

Cloud Build

(126)

Collaborate

(46)

Docs & Tutorials

(219)

Editor

(2320)

Everyplay

(13)

Game Performance Reporting

(16)

General

(944)

Graphics

(830)

GUI

(401)

Input

(157)

Licensing

(85)

Networking

(179)

Physics

(369)

Platforms

(430)

Profiling & Optimization

(77)

Runtime

(172)

Scripting

(1104)

Terrain

(164)

WebGL

(139)