Skip to content

Commit 0e542ce

Browse files
committed
add init calls to avoid stripping
1 parent effe7d7 commit 0e542ce

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.8.4
2+
- Add Bridge calls to init to prevent stripping in profile mode
3+
14
## 3.8.3
25
- Update iOS podspec and xcframework to avoid force load
36

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -54,6 +55,7 @@
5455
buildConfiguration = "Debug"
5556
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5657
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759
launchStyle = "0"
5860
useCustomWorkingDirectory = "NO"
5961
ignoresPersistentStateOnLaunch = "NO"

example/pubspec.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ packages:
3434
dependency: transitive
3535
description:
3636
name: async
37-
sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63
37+
sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
3838
url: "https://pub.dev"
3939
source: hosted
40-
version: "2.12.0"
40+
version: "2.13.0"
4141
boolean_selector:
4242
dependency: transitive
4343
description:
@@ -106,17 +106,17 @@ packages:
106106
dependency: transitive
107107
description:
108108
name: fake_async
109-
sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc"
109+
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
110110
url: "https://pub.dev"
111111
source: hosted
112-
version: "1.3.2"
112+
version: "1.3.3"
113113
fast_rsa:
114114
dependency: "direct main"
115115
description:
116116
path: ".."
117117
relative: true
118118
source: path
119-
version: "3.8.2"
119+
version: "3.8.3"
120120
ffi:
121121
dependency: transitive
122122
description:
@@ -231,10 +231,10 @@ packages:
231231
dependency: transitive
232232
description:
233233
name: leak_tracker
234-
sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
234+
sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0"
235235
url: "https://pub.dev"
236236
source: hosted
237-
version: "10.0.8"
237+
version: "10.0.9"
238238
leak_tracker_flutter_testing:
239239
dependency: transitive
240240
description:
@@ -516,10 +516,10 @@ packages:
516516
dependency: transitive
517517
description:
518518
name: vm_service
519-
sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14"
519+
sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02
520520
url: "https://pub.dev"
521521
source: hosted
522-
version: "14.3.1"
522+
version: "15.0.0"
523523
watcher:
524524
dependency: transitive
525525
description:
@@ -556,10 +556,10 @@ packages:
556556
dependency: transitive
557557
description:
558558
name: webdriver
559-
sha256: "3d773670966f02a646319410766d3b5e1037efb7f07cc68f844d5e06cd4d61c8"
559+
sha256: "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade"
560560
url: "https://pub.dev"
561561
source: hosted
562-
version: "3.0.4"
562+
version: "3.1.0"
563563
webkit_inspection_protocol:
564564
dependency: transitive
565565
description:

ios/Classes/FastRsaPlugin.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ public class FastRsaPlugin: NSObject, FlutterPlugin {
1414
case "getPlatformVersion":
1515
result("iOS " + UIDevice.current.systemVersion)
1616
case "init":
17-
_ = RSABridge.RSAEncodeText(nil, nil)
17+
_ = RSABridge.RSAEncodeText(nil, nil)
18+
_ = RSABridge.RSABridgeCall(nil, nil, 0)
19+
_ = RSABridge.RSAEncodeText(nil, nil)
1820
result("success")
1921
default:
2022
result(FlutterMethodNotImplemented)
2123
}
2224
}
2325
}
26+

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fast_rsa
22
description: library for use RSA with support for android and ios, macOS, linux, windows and web
3-
version: 3.8.3
3+
version: 3.8.4
44
homepage: https://github.com/jerson/flutter-rsa
55

66
environment:

0 commit comments

Comments
 (0)