Agasper / unity-android-notifications

Unity3D Plugin for Android local notifications with example project
Other
556 stars 184 forks source link

how do i make root plugin folder ? #25

Closed littlewingsoft closed 8 years ago

littlewingsoft commented 8 years ago

im using many android plugins everyplay , and unity purchase etc...

currently plugin path like this => Plugins / Android / unitynotification.jar

but i want change like this => Plugins / Android / localPush / unitynotification.jar

" localPush " is name of root folder,

  1. make dir " localPush "
  2. move all andmanifest , jar , res etc..
  3. build and run Android Device
  4. F.A.I.L

would you help me?

Agasper commented 8 years ago

What kind of FAIL do u have ?

littlewingsoft commented 8 years ago

hi agasper

the FAIL is so simple. not response

not push notifying message

i guess dont find path jar

littlewingsoft commented 8 years ago

this is your unity project

now

this is i want

iwant

ljackso commented 8 years ago

Hey I had a similar problem, I found that if you place an Android manifest at the top level (directly inside the Android folder) that should solve your issue. If you are considereing having multiple pluggins you will need to have one Android Manifest that covers cover all the perimsions.

You will also need to ensure that in this plugin the variable 'mainActivityClassName' in LocalNotifications.cs, points to the correct name of the main activity in your Manifest File.

badrdouah commented 7 years ago

@ljackso could you please explain further this part "You will also need to ensure that in this plugin the variable 'mainActivityClassName' in LocalNotifications.cs, points to the correct name of the main activity in your Manifest File."