Skip to content

Commit 2f03c75

Browse files
committed
try to add push for ios testflight
1 parent 8c9d0e1 commit 2f03c75

File tree

1 file changed

+1
-1
lines changed
  • src/services/notifications

1 file changed

+1
-1
lines changed

src/services/notifications/apn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if (!apnProvider) {
1010
keyId: process.env.APPLE_APN_KEY_ID,
1111
teamId: process.env.APPLE_TEAMID,
1212
},
13-
production: false, // TODO: handle APLPHA/BETA/PRODUCTION
13+
production: process.env.NODE_ENV === 'production', // TODO: handle APLPHA/BETA/PRODUCTION
1414
};
1515

1616
if (_.filter(options.token, option => !option).length > 0) {

0 commit comments

Comments
 (0)