Skip to content

Commit

Permalink
Android notification stacking feature
Browse files Browse the repository at this point in the history
* When sending a notification set an android group to enable stacking of notification in the same group.
  • Loading branch information
jkasten2 committed Jul 8, 2015
1 parent 12b2caf commit f390071
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 18 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion UnityOneSignalExample/Assets/Plugins/OneSignal/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.3
1.10.0
31 changes: 23 additions & 8 deletions UnityOneSignalExample/Library/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
--- !u!129 &1
PlayerSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
serializedVersion: 7
AndroidProfiler: 0
defaultScreenOrientation: 4
targetDevice: 2
targetGlesGraphics: 1
targetIOSGraphics: -1
targetResolution: 0
accelerometerFrequency: 60
companyName: OneSignal
productName: OneSignal Example
cloudProjectId:
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_ShowUnitySplashScreen: 1
Expand All @@ -26,7 +23,6 @@ PlayerSettings:
m_ActiveColorSpace: 0
m_MTRendering: 1
m_MobileMTRendering: 0
m_UseDX11: 0
m_Stereoscopic3D: 0
iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1
Expand Down Expand Up @@ -123,6 +119,7 @@ PlayerSettings:
iOSLaunchScreenCustomXibPath:
AndroidTargetDevice: 3
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
AndroidKeystoreName:
AndroidKeyaliasName:
AndroidTVCompatibility: 1
Expand Down Expand Up @@ -172,6 +169,13 @@ PlayerSettings:
- m_Icon: {fileID: 2800000, guid: 6ede91192c9704cbba3bef8d76e2ed6b, type: 3}
m_Size: 57
m_BuildTargetBatching: []
m_BuildTargetGraphicsAPIs:
- m_BuildTarget: WindowsStandaloneSupport
m_APIs: 01000000
m_Automatic: 0
- m_BuildTarget: AndroidPlayer
m_APIs: 08000000
m_Automatic: 0
webPlayerTemplate: APPLICATION:Default
m_TemplateCustomTags: {}
actionOnDotNetUnhandledException: 1
Expand Down Expand Up @@ -233,6 +237,7 @@ PlayerSettings:
ps4ApplicationParam2: 0
ps4ApplicationParam3: 0
ps4ApplicationParam4: 0
ps4GarlicHeapSize: 2048
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
ps4pnSessions: 1
ps4pnPresence: 1
Expand All @@ -244,6 +249,7 @@ PlayerSettings:
psp2NPTrophyPackPath:
psp2NPSupportGBMorGJP: 0
psp2NPAgeRating: 12
psp2NPTitleDatPath:
psp2NPCommsID:
psp2NPCommunicationsID:
psp2NPCommsPassphrase:
Expand All @@ -258,6 +264,7 @@ PlayerSettings:
psp2PatchOriginalPackage:
psp2PackagePassword:
psp2KeystoneFile:
psp2MemoryExpansionMode: 0
psp2DRMType: 0
psp2StorageType: 0
psp2MediaCapacity: 0
Expand Down Expand Up @@ -285,6 +292,7 @@ PlayerSettings:
psp2InfoBarOnStartup: 0
psp2InfoBarColor: 0
psmSplashimage: {fileID: 0}
virtualRealitySupported: 0
spritePackerPolicy:
scriptingDefineSymbols: {}
metroPackageName: UnityGameThriveExample
Expand Down Expand Up @@ -373,8 +381,7 @@ PlayerSettings:
blackberrySquareSplashScreen: {fileID: 0}
tizenProductDescription:
tizenProductURL:
tizenCertificatePath:
tizenCertificatePassword:
tizenSigningProfileName:
tizenGPSPermissions: 0
tizenMicrophonePermissions: 0
stvDeviceAddress:
Expand All @@ -393,6 +400,7 @@ PlayerSettings:
XboxOnePackagingOverridePath:
XboxOneAppManifestOverridePath:
XboxOnePackageEncryption: 0
XboxOnePackageUpdateGranularity: 2
XboxOneDescription:
XboxOneIsContentPackage: 0
XboxOneEnableGPUVariability: 0
Expand All @@ -418,11 +426,18 @@ PlayerSettings:
iOS::Architecture: 0
iOS::ScriptingBackend: 0
boolPropertyNames:
- WebGL::analyzeBuildSize
- WebGL::dataCaching
WebGL::analyzeBuildSize: 0
WebGL::dataCaching: 0
stringPropertyNames:
- WebGL::emscriptenArgs
- WebGL::template
WebGL::emscriptenArgs:
WebGL::template: APPLICATION:Default
firstStreamedLevelWithResources: 0
firstStreamedSceneWithResources: 0
cloudProjectId:
projectId:
projectName:
organizationId:
cloudEnabled: 0
31 changes: 23 additions & 8 deletions UnityOneSignalExample/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
--- !u!129 &1
PlayerSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
serializedVersion: 7
AndroidProfiler: 0
defaultScreenOrientation: 4
targetDevice: 2
targetGlesGraphics: 1
targetIOSGraphics: -1
targetResolution: 0
accelerometerFrequency: 60
companyName: OneSignal
productName: OneSignal Example
cloudProjectId:
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_ShowUnitySplashScreen: 1
Expand All @@ -26,7 +23,6 @@ PlayerSettings:
m_ActiveColorSpace: 0
m_MTRendering: 1
m_MobileMTRendering: 0
m_UseDX11: 0
m_Stereoscopic3D: 0
iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1
Expand Down Expand Up @@ -123,6 +119,7 @@ PlayerSettings:
iOSLaunchScreenCustomXibPath:
AndroidTargetDevice: 3
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
AndroidKeystoreName:
AndroidKeyaliasName:
AndroidTVCompatibility: 1
Expand Down Expand Up @@ -172,6 +169,13 @@ PlayerSettings:
- m_Icon: {fileID: 2800000, guid: 6ede91192c9704cbba3bef8d76e2ed6b, type: 3}
m_Size: 57
m_BuildTargetBatching: []
m_BuildTargetGraphicsAPIs:
- m_BuildTarget: WindowsStandaloneSupport
m_APIs: 01000000
m_Automatic: 0
- m_BuildTarget: AndroidPlayer
m_APIs: 08000000
m_Automatic: 0
webPlayerTemplate: APPLICATION:Default
m_TemplateCustomTags: {}
actionOnDotNetUnhandledException: 1
Expand Down Expand Up @@ -233,6 +237,7 @@ PlayerSettings:
ps4ApplicationParam2: 0
ps4ApplicationParam3: 0
ps4ApplicationParam4: 0
ps4GarlicHeapSize: 2048
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
ps4pnSessions: 1
ps4pnPresence: 1
Expand All @@ -244,6 +249,7 @@ PlayerSettings:
psp2NPTrophyPackPath:
psp2NPSupportGBMorGJP: 0
psp2NPAgeRating: 12
psp2NPTitleDatPath:
psp2NPCommsID:
psp2NPCommunicationsID:
psp2NPCommsPassphrase:
Expand All @@ -258,6 +264,7 @@ PlayerSettings:
psp2PatchOriginalPackage:
psp2PackagePassword:
psp2KeystoneFile:
psp2MemoryExpansionMode: 0
psp2DRMType: 0
psp2StorageType: 0
psp2MediaCapacity: 0
Expand Down Expand Up @@ -285,6 +292,7 @@ PlayerSettings:
psp2InfoBarOnStartup: 0
psp2InfoBarColor: 0
psmSplashimage: {fileID: 0}
virtualRealitySupported: 0
spritePackerPolicy:
scriptingDefineSymbols: {}
metroPackageName: UnityGameThriveExample
Expand Down Expand Up @@ -373,8 +381,7 @@ PlayerSettings:
blackberrySquareSplashScreen: {fileID: 0}
tizenProductDescription:
tizenProductURL:
tizenCertificatePath:
tizenCertificatePassword:
tizenSigningProfileName:
tizenGPSPermissions: 0
tizenMicrophonePermissions: 0
stvDeviceAddress:
Expand All @@ -393,6 +400,7 @@ PlayerSettings:
XboxOnePackagingOverridePath:
XboxOneAppManifestOverridePath:
XboxOnePackageEncryption: 0
XboxOnePackageUpdateGranularity: 2
XboxOneDescription:
XboxOneIsContentPackage: 0
XboxOneEnableGPUVariability: 0
Expand All @@ -418,11 +426,18 @@ PlayerSettings:
iOS::Architecture: 0
iOS::ScriptingBackend: 0
boolPropertyNames:
- WebGL::analyzeBuildSize
- WebGL::dataCaching
WebGL::analyzeBuildSize: 0
WebGL::dataCaching: 0
stringPropertyNames:
- WebGL::emscriptenArgs
- WebGL::template
WebGL::emscriptenArgs:
WebGL::template: APPLICATION:Default
firstStreamedLevelWithResources: 0
firstStreamedSceneWithResources: 0
cloudProjectId:
projectId:
projectName:
organizationId:
cloudEnabled: 0
2 changes: 1 addition & 1 deletion UnityOneSignalExample/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 5.0.0f4
m_EditorVersion: 5.1.0f3
m_StandardAssetsVersion: 0
Binary file modified UnityOneSignalSDK.unitypackage
Binary file not shown.

0 comments on commit f390071

Please sign in to comment.