Agasper / unity-android-notifications

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

Notification doesn't launch the app #37

Closed rajeshalluri closed 8 years ago

rajeshalluri commented 8 years ago

Hello Everyone,

I am using this in Unity game, Notification works fine but the Notification doesn't launch the app, Please help thanks in advace

shekharskamble commented 8 years ago

Hi,

Did you managed to resolve. We have the same issue, thanks

evgeny-detkov commented 8 years ago

You may have specified an incorrect name activity. See LocalNotification.cs -> mainActivityClassName = "you activity from AndroidManifest.xml"; For example: AndroidManifest.xml

`<?xml version="1.0" encoding="utf-8"?>

` LocalNotification.cs private static string mainActivityClassName = "**com.unity3d.player.UnityPlayerNativeActivity**";
shekharskamble commented 8 years ago

Yes thats the fix... thanks evgeny-detkov