title: Firebase Cloud Messaging development and release profile
body: <p>I recendly swtiched over from Google Cloud Messaging to Firebase Cloud Messaging.</p>
  
  <p>With GCM I had to choose the sandbox option. As described here : <a href="https://developers.google.com/cloud-messaging/ios/client#obtain_a_registration_token" rel="noreferrer">https://developers.google.com/cloud-messaging/ios/client#obtain_a_registration_token</a> see point 3.</p>
  
  <p>To receive push notifications in debug mode I had to do something like this</p>
  
  <pre><code>[[GGLInstanceID sharedInstance] startWithConfig:instanceIDConfig];
  _registrationOptions = @{kGGLInstanceIDRegisterAPNSOption:deviceToken,
                           kGGLInstanceIDAPNSServerTypeSandboxOption:@YES};
  </code></pre>
  
  <p>To receive push notifications in an App from the AppStore (e.g. TestFlight) I had to say:</p>
  
  <pre><code>kGGLInstanceIDAPNSServerTypeSandboxOption:@NO};
  </code></pre>
  
  <p>Now I can not find something like this in Firebase. First I thought great no switching these stupid values anymore. But now I do not receive any push notifications in my TestFlight apps anymore. </p>
  
  <p>In my debug console when I debug on the device one output is like this:</p>
  
  <pre><code>&lt;FIRInstanceID/WARNING&gt; APNS Environment in profile: development
  </code></pre>
  
  <p>Which is good for local debugging, but unwanted in TestFlight. (I do not know if this happens for TestFlight apps, since I do not have a console for them.)</p>
  
  <p>So my question is: Does anybody know if I can manually change this Sandbox option in Firebase anyhow?</p>
  
  <p>Thanks,</p>
  
  <p>Simon</p>