WD: penguin frame work changed and dialog displayed as per the provided values and showing every time upon click.

dev_v3.13.6_penguin_confirmation
sultan khan 1 year ago
parent 321e4a095b
commit dfbe97e3e5

@ -0,0 +1 @@
export PATH="$PATH:/Users/user/Documents/Flutter SDKs/flutter_3.24.3/bin"

@ -5,4 +5,4 @@
# For customization when using a Version Control System, please read the
# header note.
#Sun Sep 20 09:53:03 EEST 2020
sdk.dir=/Users/erababah/Library/Android/sdk
sdk.dir=/Users/user/Library/Android/sdk

@ -52,6 +52,8 @@ internal class PenguinView(
private val permissionResultReceiver: PermissionResultReceiver
private val permissionIntentFilter = IntentFilter("PERMISSION_RESULT_ACTION")
private companion object {
const val PERMISSIONS_REQUEST_CODE = 1
}
@ -217,17 +219,31 @@ internal class PenguinView(
// }
// Set events delegate for reporting issues
// PlugAndPlaySDK.setPiEventsDelegate(new PIEventsDelegate() {
// @Override
// public void onReportIssue(PIReportIssue issue) {
// Log.e("Issue Reported: ", issue.getReportType());
// }
// // Implement issue reporting logic here }
// @Override
// public void onSharedLocation(String link) {
// // Implement Shared location logic here
// }
// })
PlugAndPlaySDK.setPiEventsDelegate(object : PIEventsDelegate {
override fun onReportIssue(issue: PIReportIssue?) {
}
override fun onSharedLocation(link: String?) {
}
override fun onBackButtonPressed(mContext: Context?) {
mContext?.let{
val builder = AlertDialog.Builder(it)
.setTitle((creationParams["dialogTitle"] as String))
.setMessage((creationParams["dialogMessage"]as String))
.setPositiveButton((creationParams["dialogPositiveBtnTxt"] as String)) { _, _ ->
PlugAndPlaySDK.dismiss()
}
.setNegativeButton((creationParams["dialogNegativeBtnTxt"] as String), null)
builder.create()
builder.show()
}
}
})
// Start the Penguin SDK
PlugAndPlaySDK.start(mContext, this)

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>PenNavUI.framework/PenNavUI</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>PenNavUI.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>PenNavUI.framework/PenNavUI</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>PenNavUI.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>

@ -0,0 +1,18 @@
//
// PenNavUI.h
// PenNavUI
//
// Created by Fawzi Rifai on 18/08/2023.
//
#import <Foundation/Foundation.h>
//! Project version number for PenNavUI.
FOUNDATION_EXPORT double PenNavUIVersionNumber;
//! Project version string for PenNavUI.
FOUNDATION_EXPORT const unsigned char PenNavUIVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <PenNavUI/PublicHeader.h>

@ -0,0 +1,11 @@
framework module PenNavUI {
umbrella header "PenNavUI.h"
export *
module * { export * }
}
module PenNavUI.Swift {
header "PenNavUI-Swift.h"
requires objc
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save