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
{{ message }}
This repository was archived by the owner on Jan 10, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: Controller/DeviceController.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,10 +49,10 @@ class DeviceController extends Controller
49
49
* @Method("POST")
50
50
* @Rest\View()
51
51
* @RequestParam(name="device_token", description="The device token returned from Apple.", strict=true)
52
+
* @RequestParam(name="is_sandbox", description="Whether or not this is using apples sandbox", strict=true)
52
53
* @RequestParam(name="badge_allowed", requirements="(0|1|false|true)", description="Whether or not the user has allowed badges on the app.", strict=true)
53
54
* @RequestParam(name="sound_allowed", requirements="(0|1|false|true)", description="Whether or not the user has allowed sounds on the app.", strict=true)
54
55
* @RequestParam(name="alert_allowed", requirements="(0|1|false|true)", description="Whether or not the user has allowed alerts on the app.", strict=true)
55
-
* @RequestParam(name="is_sandbox", requirements="(0|1|false|true)", description="Whether or not the app's certificate is using apple's sandbox.", strict=true)
56
56
* @RequestParam(name="device_name", description="The name of the registering device.", strict=true)
57
57
* @RequestParam(name="device_model", description="The model of the registering device.", strict=true)
58
58
* @RequestParam(name="device_version", description="The iOS version of the registering device.", strict=true)
@@ -122,7 +122,7 @@ public function registeriOSDeviceAction(ParamFetcher $paramFetcher) {
122
122
* @Rest\View()
123
123
* @RequestParam(name="device_token", description="The registration id returned from GCM", strict=true)
124
124
* @RequestParam(name="device_identifier", description="The vendor device identifier of the Android device.", strict=true)
125
-
* @RequestParam(name="is_sandbox", requirements="(0|1|false|true)", description="Whether or not the app's certificate is using apple's sandbox.", strict=true)
125
+
* @RequestParam(name="is_sandbox", description="Whether or not this appis using googles sandbox", strict=true)
126
126
* @RequestParam(name="device_name", description="The name of the registering device.", strict=true)
127
127
* @RequestParam(name="device_model", description="The model of the registering device.", strict=true)
128
128
* @RequestParam(name="device_version", description="The iOS version of the registering device.", strict=true)
0 commit comments