feat : privacyPolicyWidget
This commit is contained in:
@@ -28,8 +28,8 @@ class MainActivity : FlutterActivity() {
|
||||
CHANNEL
|
||||
).setMethodCallHandler { call, result ->
|
||||
if (call.method == "apk_installer") {
|
||||
val internalFile = File(context.filesDir.parentFile, "app_flutter/app-release.apk")
|
||||
val externalFile = File(context.getExternalFilesDir(null), "app-release.apk")
|
||||
val internalFile = File(context.filesDir.parentFile, "app_flutter/rasadyar.apk")
|
||||
val externalFile = File(context.getExternalFilesDir(null), "rasadyar.apk")
|
||||
|
||||
internalFile.copyTo(externalFile, overwrite = true)
|
||||
if (!installer.canInstallPackages()) {
|
||||
|
||||
Reference in New Issue
Block a user