Skip to content

Commit

Permalink
bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pome90 committed Aug 16, 2022
1 parent a6494a9 commit 48b6bff
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 25 deletions.
28 changes: 18 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
// {
// "version": "0.2.0",
// "configurations": [{
// "name": "Flutter",
// "request": "launch",
// "type": "dart",
// "args": ["-d", "chrome","--web-port", "8000"],
// }
// ]
// }
{
"version": "0.2.0",
"configurations": [
{
"name": "Flutter",
"type": "dart",
"request": "launch",
"program": "example/lib/main.dart"
},
{
"name": "Flutter Desktop",
"request": "launch",
"type": "dart",
"args": ["-d", "chrome", "--web-port", "8000"],
"program": "example/lib/main.dart"
}
]
}
13 changes: 11 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@ PODS:
- Flutter (1.0.0)
- flutter_azure_b2c (0.0.1):
- Flutter
- MSAL
- MSAL (1.2.3):
- MSAL/app-lib (= 1.2.3)
- MSAL/app-lib (1.2.3)

DEPENDENCIES:
- Flutter (from `Flutter`)
- flutter_azure_b2c (from `.symlinks/plugins/flutter_azure_b2c/ios`)

SPEC REPOS:
trunk:
- MSAL

EXTERNAL SOURCES:
Flutter:
:path: Flutter
Expand All @@ -15,8 +23,9 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
flutter_azure_b2c: 9574d0c702b201c15c829e860b8f803c3e6b0882
flutter_azure_b2c: 197765c36c3ff087b9c01b41a23635c199c5bd99
MSAL: f8cbd986b401c947ae9b09f7dae652f95f60fce1

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
10 changes: 5 additions & 5 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1310;
LastUpgradeCheck = 1300;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down Expand Up @@ -227,7 +227,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n";
};
41CBAF95ACA65BDCFEBFEB18 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -381,7 +381,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.nodriver.example;
PRODUCT_BUNDLE_IDENTIFIER = com.example.src;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -512,7 +512,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.nodriver.example;
PRODUCT_BUNDLE_IDENTIFIER = com.example.src;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -535,7 +535,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.nodriver.example;
PRODUCT_BUNDLE_IDENTIFIER = com.example.src;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1310"
LastUpgradeVersion = "1300"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
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 @@ -27,7 +27,7 @@
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>msauth.com.nodriver.irreo</string>
<string>msauth.$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>
</dict>
</array>
Expand Down
6 changes: 0 additions & 6 deletions ios/Classes/B2CProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,6 @@ class B2CProvider {
data: nil
))
}
self.operationListener.onEvent(operationResult: B2COperationResult(
tag: tag,
source: source,
reason: B2COperationState.SUCCESS,
data: nil
))
}
}

Expand Down
1 change: 1 addition & 0 deletions ios/flutter_azure_b2c.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'MSAL'
s.dependency 'Flutter'
s.platform = :ios, '9.0'

# Flutter.framework does not contain a i386 slice.
Expand Down

0 comments on commit 48b6bff

Please sign in to comment.