Skip to content

Commit 1a955c0

Browse files
committed
fix(demo): trim Android channel ID env var
1 parent aeb4372 commit 1a955c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/demo/src/services/OneSignalApiService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class OneSignalApiService {
5050
contents = { en: 'This notification plays a custom sound' };
5151
extra.ios_sound = 'vine_boom.wav';
5252
extra.android_channel_id =
53-
ONESIGNAL_ANDROID_CHANNEL_ID ?? 'b3b015d9-c050-4042-8548-dcc34aa44aa4';
53+
ONESIGNAL_ANDROID_CHANNEL_ID?.trim() || 'b3b015d9-c050-4042-8548-dcc34aa44aa4';
5454
break;
5555
default:
5656
return false;

0 commit comments

Comments
 (0)