Эх сурвалжийг харах

Update stub with multi-URL config params

Adam Pritchard 9 жил өмнө
parent
commit
45dd203c86

+ 14 - 5
MobileLibrary/Android/SampleApps/TunneledWebView/app/src/main/res/raw/psiphon_config_stub

@@ -1,8 +1,16 @@
+/*
+These are the minimum values required to use the Psiphon Tunnel.
+ClientVersion is the version number of your software, which will be tracked in Psiphon stats.
+All other values will be provided to you by Psiphon Inc.
+*/
+
 {
-    "PropagationChannelId" : "<placeholder>",
-    "SponsorId" : "<placeholder>",
-    "RemoteServerListUrl" : "<placeholder>",
-    "RemoteServerListSignaturePublicKey" : "<placeholder>",
+    "ClientVersion": "123", /* Must be a number in a string. */
+    "PropagationChannelId" : "...",
+    "SponsorId" : "...",
+    "RemoteServerListURLs": "[...]",
+    "RemoteServerListSignaturePublicKey" : "...",
+    "ObfuscatedServerListRootURLs": "[...]",
     "DataStoreDirectory" : "",
     "DataStoreTempDirectory" : "",
     "LogFilename" : "",
@@ -13,5 +21,6 @@
     "ConnectionWorkerPoolSize" : 10,
     "TunnelPoolSize" : 1,
     "PortForwardFailureThreshold" : 10,
-    "UpstreamProxyUrl" : ""
+    "UpstreamProxyUrl" : "",
+    "EmitDiagnosticNotices": true /* Useful when testing */
 }