We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5be51 commit 7fe6b30Copy full SHA for 7fe6b30
packages/supabase/lib/src/constants.dart
@@ -14,8 +14,11 @@ class Constants {
14
15
static final Map<String, String> defaultHeaders = {
16
'X-Client-Info': 'supabase-dart/$version',
17
- if (platform != null) 'X-Supabase-Client-Platform': platform!,
+ if (platform != null)
18
+ 'X-Supabase-Client-Platform':
19
+ Uri.encodeFull(platform!).replaceAll("%20", " "),
20
if (platformVersion != null)
- 'X-Supabase-Client-Platform-Version': platformVersion!,
21
+ 'X-Supabase-Client-Platform-Version':
22
+ Uri.encodeFull(platformVersion!).replaceAll("%20", " "),
23
};
24
}
0 commit comments