Skip to content

Commit aa8ef2e

Browse files
zairigimadfabpot
authored andcommitted
[Notifier] Add Expo bridge
1 parent 62cf714 commit aa8ef2e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ class UnsupportedSchemeException extends LogicException
3636
'class' => Bridge\Esendex\EsendexTransportFactory::class,
3737
'package' => 'symfony/esendex-notifier',
3838
],
39+
'expo' => [
40+
'class' => Bridge\Expo\ExpoTransportFactory::class,
41+
'package' => 'symfony/expo-notifier',
42+
],
3943
'fakechat' => [
4044
'class' => Bridge\FakeChat\FakeChatTransportFactory::class,
4145
'package' => 'symfony/fake-chat-notifier',

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
1717
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
1818
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
19+
use Symfony\Component\Notifier\Bridge\Expo\ExpoTransportFactory;
1920
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
2021
use Symfony\Component\Notifier\Bridge\FreeMobile\FreeMobileTransportFactory;
2122
use Symfony\Component\Notifier\Bridge\GatewayApi\GatewayApiTransportFactory;
@@ -70,6 +71,7 @@ class Transport
7071
ClickatellTransportFactory::class,
7172
DiscordTransportFactory::class,
7273
EsendexTransportFactory::class,
74+
ExpoTransportFactory::class,
7375
FirebaseTransportFactory::class,
7476
FreeMobileTransportFactory::class,
7577
GatewayApiTransportFactory::class,

0 commit comments

Comments
 (0)