You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These each have unique app IDs, so use some conditional code in settings.php or custom module to switch automatically based on environment.
Set a contact email.
Before launch, go to "Status & Review", set the big Yes/No slider to "Yes". (It will say "Do you want to make this app and all its live features available to the general public?")
Sample environment switching code:
<?phpif (isset($_SERVER['PANTHEON_ENVIRONMENT'])) {
// Only on live web environment.if ($_SERVER['PANTHEON_ENVIRONMENT'] == 'live') {
$app_id = '555555555555555';
}
if ($_SERVER['PANTHEON_ENVIRONMENT'] == 'test') {
$app_id = '444444444444444';
}
}