Skip to content

Commit

Permalink
Update wechat app id
Browse files Browse the repository at this point in the history
  • Loading branch information
IniZio committed Apr 11, 2024
1 parent 2d0ee18 commit c49d929
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MainActivity: FlutterFragmentActivity() {
private val CHANNEL = "example"

companion object {
internal val WECHAT_APP_ID = "wxcplaceholder"
internal val WECHAT_APP_ID = "wxe64ed6a7605b5021"
private val wechat: HashMap<String, MethodChannel.Result> = hashMapOf()

internal fun storeWechat(state: String, result: MethodChannel.Result) {
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import flutter_authgear
WXApi.startLog(by: WXLogLevel.detail) { message in
print("WeChatSDK: \(message)")
}
WXApi.registerApp("wxcplaceholder", universalLink: "https://authgear-demo-flutter.pandawork.com/wechat/")
WXApi.registerApp("wxe64ed6a7605b5021", universalLink: "https://authgear-demo-flutter.pandawork.com/wechat/")

let controller = window?.rootViewController as! FlutterViewController
let channel = FlutterMethodChannel(name: "example", binaryMessenger: controller.binaryMessenger)
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<string>weixin</string>
<key>CFBundleURLSchemes</key>
<array>
<string>wxcplaceholder</string>
<string>wxe64ed6a7605b5021</string>
</array>
</dict>
</array>
Expand Down

0 comments on commit c49d929

Please sign in to comment.