Setting title for local notifications (Unity)

Answered

Comments

3 comments

  • Avatar
    Max Konev

    Pushwoosh SDK takes the app name from the strings.xml file. What do you have set up there for app_name?

    Ex:
    <string name="app_name">Hello World with space</string>

    And in AndroidManifest.xml for android:label
    <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:name="HelloWorld" android:theme="@android:style/Theme.Black.NoTitleBar">

  • Avatar
    Ehud

    I'm on Unity, so the strings.xml file is generated when building from Unity. I ended up changing the app name through Unity and it worked. However, it'd still be nice if I could provide an explicit title to the notification instead of it always using the app name.

  • Avatar
    Max Konev

    Great it worked! I'll put that on our feature list for upcoming version of the plugin!

Please sign in to leave a comment.