Jelajahi Sumber

feat: delete ssl

tongmengxiao 4 bulan lalu
induk
melakukan
170002e495

+ 1 - 1
app/src/main/java/com/swago/app/SplashActivity.kt

@@ -77,7 +77,7 @@ class SplashActivity : AppCompatActivity() {
 
         if(!File(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "index.html").exists()){
             FileUtil.copyAssetFile(AppContext.getContext() , "com-swago-magical-piggy.zip" , File(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "com-swago-magical-piggy.zip"))
-            SpUtil.putInt("8", 33)
+            SpUtil.putInt("8", 34)
             val t = UrlConstant.appGameRootPath + File.separator + 8
             FileUtil.upZipFile(UrlConstant.appGameRootPath + File.separator + 8 + File.separator + "com-swago-magical-piggy.zip" , t + File.separator)
         }

TEMPAT SAMPAH
baseswago/src/main/assets/com-swago-magical-piggy.zip


+ 0 - 1
baseswago/src/main/java/com/swago/baseswago/http/RetrofitManager.kt

@@ -32,7 +32,6 @@ object RetrofitManager {
         if (BuildConfig.DEBUG) {
             okHttpClientBuilder.addInterceptor(ChuckerInterceptor(AppContext.getContext()))
         }
-        setSSLSocketFactory(okHttpClientBuilder)
         okHttpClientBuilder.addInterceptor(SwagoInterceptor())
         okHttpClientBuilder.retryOnConnectionFailure(true)
         okHttpClientBuilder.connectTimeout(30000, TimeUnit.MILLISECONDS)