Skip to content

Commit

Permalink
Merge pull request #16 from deskpro/develop
Browse files Browse the repository at this point in the history
Update script and example app
  • Loading branch information
qsd-faris authored Mar 14, 2024
2 parents 400192f + 5b6c2a5 commit b6e0fe2
Show file tree
Hide file tree
Showing 15 changed files with 460 additions and 60 deletions.
77 changes: 59 additions & 18 deletions Examples/SwiftExample/SwiftExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@
objects = {

/* Begin PBXBuildFile section */
5E19A4E92B71A0950056D784 /* messenger-sdk-ios in Frameworks */ = {isa = PBXBuildFile; productRef = 5E19A4E82B71A0950056D784 /* messenger-sdk-ios */; };
5E19F5942B477AE400E37F55 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E19F5932B477AE400E37F55 /* AppDelegate.swift */; };
5E19F5962B477AE400E37F55 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E19F5952B477AE400E37F55 /* SceneDelegate.swift */; };
5E19F5982B477AE400E37F55 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E19F5972B477AE400E37F55 /* ViewController.swift */; };
5E19F59B2B477AE400E37F55 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5E19F5992B477AE400E37F55 /* Main.storyboard */; };
5E19F59D2B477AE400E37F55 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5E19F59C2B477AE400E37F55 /* Assets.xcassets */; };
5E19F5A02B477AE400E37F55 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5E19F59E2B477AE400E37F55 /* LaunchScreen.storyboard */; };
5E66BF0C2B7FB63100FAF349 /* messenger-sdk-ios in Frameworks */ = {isa = PBXBuildFile; productRef = 5E66BF0B2B7FB63100FAF349 /* messenger-sdk-ios */; };
5E99636E2BA3339600F27D11 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 5E99636D2BA3339600F27D11 /* GoogleService-Info.plist */; };
5EF899182B728D75005547BC /* FirebaseAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = 5EF899172B728D75005547BC /* FirebaseAnalytics */; };
5EF899422B728D75005547BC /* FirebaseMessaging in Frameworks */ = {isa = PBXBuildFile; productRef = 5EF899412B728D75005547BC /* FirebaseMessaging */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -38,14 +41,18 @@
5E19F59C2B477AE400E37F55 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5E19F59F2B477AE400E37F55 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5E19F5A12B477AE400E37F55 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5E99636D2BA3339600F27D11 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
5EF898E22B726952005547BC /* SwiftExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SwiftExample.entitlements; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5E19F58D2B477AE400E37F55 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
5E19A4E92B71A0950056D784 /* messenger-sdk-ios in Frameworks */,
5EF899182B728D75005547BC /* FirebaseAnalytics in Frameworks */,
5EF899422B728D75005547BC /* FirebaseMessaging in Frameworks */,
5E66BF0C2B7FB63100FAF349 /* messenger-sdk-ios in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -71,13 +78,15 @@
5E19F5922B477AE400E37F55 /* SwiftExample */ = {
isa = PBXGroup;
children = (
5EF898E22B726952005547BC /* SwiftExample.entitlements */,
5E19F5932B477AE400E37F55 /* AppDelegate.swift */,
5E19F5952B477AE400E37F55 /* SceneDelegate.swift */,
5E19F5972B477AE400E37F55 /* ViewController.swift */,
5E19F5992B477AE400E37F55 /* Main.storyboard */,
5E19F59C2B477AE400E37F55 /* Assets.xcassets */,
5E19F59E2B477AE400E37F55 /* LaunchScreen.storyboard */,
5E19F5A12B477AE400E37F55 /* Info.plist */,
5E99636D2BA3339600F27D11 /* GoogleService-Info.plist */,
);
path = SwiftExample;
sourceTree = "<group>";
Expand All @@ -100,7 +109,9 @@
);
name = SwiftExample;
packageProductDependencies = (
5E19A4E82B71A0950056D784 /* messenger-sdk-ios */,
5EF899172B728D75005547BC /* FirebaseAnalytics */,
5EF899412B728D75005547BC /* FirebaseMessaging */,
5E66BF0B2B7FB63100FAF349 /* messenger-sdk-ios */,
);
productName = SwiftExample;
productReference = 5E19F5902B477AE400E37F55 /* SwiftExample.app */;
Expand Down Expand Up @@ -131,7 +142,8 @@
);
mainGroup = 5E19F5872B477AE400E37F55;
packageReferences = (
5E19A4E72B71A0950056D784 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */,
5EF899162B728D75005547BC /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */,
5E66BF0A2B7FB63100FAF349 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */,
);
productRefGroup = 5E19F5912B477AE400E37F55 /* Products */;
projectDirPath = "";
Expand All @@ -148,6 +160,7 @@
buildActionMask = 2147483647;
files = (
5E19F5A02B477AE400E37F55 /* LaunchScreen.storyboard in Resources */,
5E99636E2BA3339600F27D11 /* GoogleService-Info.plist in Resources */,
5E19F59D2B477AE400E37F55 /* Assets.xcassets in Resources */,
5E19F59B2B477AE400E37F55 /* Main.storyboard in Resources */,
);
Expand Down Expand Up @@ -307,34 +320,39 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = SwiftExample/SwiftExample.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 49M8DX7784;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = HC9N5Z797X;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/SwiftExample",
);
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = SwiftExample/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "This app requires camera access to take photos for uploading images directly from the camera.";
INFOPLIST_KEY_NSMicrophoneUsageDescription = "This app requires microphone access to record audio for video uploads directly from the camera.";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.0.1;
PRODUCT_BUNDLE_IDENTIFIER = com.SwiftExample;
PRODUCT_BUNDLE_IDENTIFIER = HC9N5Z797X.com.deskpro.mobile.ios;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
};
name = Debug;
};
Expand All @@ -343,34 +361,39 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = SwiftExample/SwiftExample.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 49M8DX7784;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = HC9N5Z797X;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/SwiftExample",
);
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = SwiftExample/Info.plist;
INFOPLIST_KEY_NSCameraUsageDescription = "This app requires camera access to take photos for uploading images directly from the camera.";
INFOPLIST_KEY_NSMicrophoneUsageDescription = "This app requires microphone access to record audio for video uploads directly from the camera.";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.0.1;
PRODUCT_BUNDLE_IDENTIFIER = com.SwiftExample;
PRODUCT_BUNDLE_IDENTIFIER = HC9N5Z797X.com.deskpro.mobile.ios;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
};
name = Release;
};
Expand Down Expand Up @@ -398,22 +421,40 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
5E19A4E72B71A0950056D784 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */ = {
5E66BF0A2B7FB63100FAF349 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/deskpro/messenger-sdk-ios.git";
requirement = {
kind = exactVersion;
version = 0.0.10;
};
};
5EF899162B728D75005547BC /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/firebase/firebase-ios-sdk.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.0.7;
minimumVersion = 10.20.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
5E19A4E82B71A0950056D784 /* messenger-sdk-ios */ = {
5E66BF0B2B7FB63100FAF349 /* messenger-sdk-ios */ = {
isa = XCSwiftPackageProductDependency;
package = 5E19A4E72B71A0950056D784 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */;
package = 5E66BF0A2B7FB63100FAF349 /* XCRemoteSwiftPackageReference "messenger-sdk-ios" */;
productName = "messenger-sdk-ios";
};
5EF899172B728D75005547BC /* FirebaseAnalytics */ = {
isa = XCSwiftPackageProductDependency;
package = 5EF899162B728D75005547BC /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
productName = FirebaseAnalytics;
};
5EF899412B728D75005547BC /* FirebaseMessaging */ = {
isa = XCSwiftPackageProductDependency;
package = 5EF899162B728D75005547BC /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
productName = FirebaseMessaging;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 5E19F5882B477AE400E37F55 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,129 @@
{
"pins" : [
{
"identity" : "abseil-cpp-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/abseil-cpp-binary.git",
"state" : {
"revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c",
"version" : "1.2022062300.0"
}
},
{
"identity" : "app-check",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/app-check.git",
"state" : {
"revision" : "3e464dad87dad2d29bb29a97836789bf0f8f67d2",
"version" : "10.18.1"
}
},
{
"identity" : "firebase-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk.git",
"state" : {
"revision" : "b880ec8ec927a838c51c12862c6222c30d7097d7",
"version" : "10.20.0"
}
},
{
"identity" : "googleappmeasurement",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleAppMeasurement.git",
"state" : {
"revision" : "ceec9f28dea12b7cf3dabf18b5ed7621c88fd4aa",
"version" : "10.20.0"
}
},
{
"identity" : "googledatatransport",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleDataTransport.git",
"state" : {
"revision" : "a732a4b47f59e4f725a2ea10f0c77e93a7131117",
"version" : "9.3.0"
}
},
{
"identity" : "googleutilities",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "bc27fad73504f3d4af235de451f02ee22586ebd3",
"version" : "7.12.1"
}
},
{
"identity" : "grpc-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/grpc-binary.git",
"state" : {
"revision" : "a673bc2937fbe886dd1f99c401b01b6d977a9c98",
"version" : "1.49.1"
}
},
{
"identity" : "gtm-session-fetcher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "76135c9f4e1ac85459d5fec61b6f76ac47ab3a4c",
"version" : "3.3.1"
}
},
{
"identity" : "interop-ios-for-google-sdks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/interop-ios-for-google-sdks.git",
"state" : {
"revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
"version" : "100.0.0"
}
},
{
"identity" : "leveldb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/leveldb.git",
"state" : {
"revision" : "9d108e9112aa1d65ce508facf804674546116d9c",
"version" : "1.22.3"
}
},
{
"identity" : "messenger-sdk-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/deskpro/messenger-sdk-ios.git",
"state" : {
"revision" : "0638f13a32f5781145a3a18dc553e9f181aafe85",
"version" : "0.0.7"
"revision" : "fba94d11fd01b7dac36627f0777cf5f8a0b2a1e8",
"version" : "0.0.10"
}
},
{
"identity" : "nanopb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/nanopb.git",
"state" : {
"revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
"version" : "2.30909.0"
}
},
{
"identity" : "promises",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/promises.git",
"state" : {
"revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e",
"version" : "2.3.1"
}
},
{
"identity" : "swift-protobuf",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "65e8f29b2d63c4e38e736b25c27b83e012159be8",
"version" : "1.25.2"
}
}
],
Expand Down
Loading

0 comments on commit b6e0fe2

Please sign in to comment.