Skip to content

Commit

Permalink
try to be compatible with swift
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Aug 16, 2019
1 parent 312c069 commit cd279d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
8 changes: 4 additions & 4 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@
97C146EC1CF9000F007C117D /* Resources */,
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
B9B671E3C40E880838FB64E7 /* [CP] Embed Pods Frameworks */,
899C77A1D3A1538F2586AEF5 /* [CP] Copy Pods Resources */,
E7B9A74D27A5D98EA55BB3FD /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -318,7 +318,7 @@
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
};
B9B671E3C40E880838FB64E7 /* [CP] Embed Pods Frameworks */ = {
E7B9A74D27A5D98EA55BB3FD /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand Down Expand Up @@ -491,7 +491,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.jarvanmo.tobias1;
PRODUCT_BUNDLE_IDENTIFIER = com.jarvanmo.tobias2;
PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic";
};
Expand All @@ -515,7 +515,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.jarvanmo.tobias1;
PRODUCT_BUNDLE_IDENTIFIER = com.jarvanmo.tobias2;
PRODUCT_NAME = "$(TARGET_NAME)";
VERSIONING_SYSTEM = "apple-generic";
};
Expand Down
11 changes: 1 addition & 10 deletions example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<string></string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>weixin</string>
<string>alipays</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
Expand Down Expand Up @@ -65,14 +65,5 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>alipays</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/Classes/TobiasPlugin.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <Flutter/Flutter.h>
#import <AlipaySDK/AlipaySDK.h>
#import "AlipaySDK/AlipaySDK.h"

@interface TobiasPlugin : NSObject<FlutterPlugin>
+(BOOL)handleOpenURL:(NSURL*)url;
Expand Down

0 comments on commit cd279d8

Please sign in to comment.