EnakPoint & EnakCoin wallet, PIN, outlet, order, community, reward

- Wallet EnakPoint & EnakCoin: beranda, riwayat, saldo kedaluwarsa, kode
  bayar, tukar EnakCoin, transfer
- PIN (buat, ganti, lupa), outlet, riwayat order, game spin
- Halaman community, webview, coming soon, dan ikon menu beranda baru
- Redesign Reward Saya: kartu tiket, filter chip, detail kode + QR
- Hapus customer point loader, menu, dan checkout lama
- Base URL ke enaklo-pos-api.altru.id

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
efrilm
2026-10-01 01:43:22 +07:00
co-authored by Claude Opus 5.5
parent 5954510b93
commit f5e3075205
253 changed files with 47212 additions and 17437 deletions
@@ -1,5 +1,36 @@
package com.appskel.enaklo
import android.os.Build
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugins.webviewflutter.WebViewFlutterAndroidExternalApi
class MainActivity : FlutterActivity()
class MainActivity : FlutterActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
// Pengaturan WebView yang tidak disediakan plugin webview_flutter.
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, WEBVIEW_CHANNEL)
.setMethodCallHandler { call, result ->
when (call.method) {
"enableOffscreenPreRaster" -> {
val id = call.argument<Number>("webViewId")?.toLong()
@Suppress("DEPRECATION")
val webView = id?.let {
WebViewFlutterAndroidExternalApi.getWebView(flutterEngine, it)
}
if (webView != null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
webView.settings.offscreenPreRaster = true
}
result.success(webView != null)
}
else -> result.notImplemented()
}
}
}
private companion object {
const val WEBVIEW_CHANNEL = "com.appskel.enaklo/webview"
}
}