Step 1.) Delete your iOS, Android & Node modules folder
rm -rf android && rm -rf ios && rm -rf node_modulesStep 2.) Adjust your package.json to include the following:
"@capacitor/android": "^2.4.5",
| {% if template == 'index' %} | |
| fetch('https://api.ipregistry.co/?key=tryout') | |
| .then(function (response) { | |
| return response.json(); | |
| }) | |
| .then(function (payload) { | |
| if('Australia' == payload.location.country.name){ | |
| $('#international-notice').show(); | |
| } | |
| }); |
Step 1.) Delete your iOS, Android & Node modules folder
rm -rf android && rm -rf ios && rm -rf node_modulesStep 2.) Adjust your package.json to include the following:
"@capacitor/android": "^2.4.5",
| <?php | |
| add_filter('gform_webhooks_request_data', function ($request_data, $feed, $entry, $form) { | |
| if (rgars($feed, 'meta/requestBodyType') === 'all_fields') { | |
| foreach ($form['fields'] as $item) { | |
| if ($item->adminLabel != '') { | |
| if (isset($item->inputs) && is_array($item->inputs)) { | |
| if ($item['type'] == 'time') { | |
| foreach ($item->inputs as $key => $input) { | |
| if (isset($entry[floor($input['id'])])) { | |
| if (!is_null($entry[floor($input['id'])])) { |
| // Restricting a model's scope, for tenancy | |
| protected static function boot() | |
| { | |
| parent::boot(); | |
| self::addGlobalScope(function(Builder $builder) { | |
| $builder->where('team_id', auth()->user()->current_team_id); | |
| }); | |
| } |