Skip to content

Commit

Permalink
adds capability to switch server from live to staging and vise versa
Browse files Browse the repository at this point in the history
  • Loading branch information
abmomen committed Feb 27, 2023
1 parent df9afdc commit e314e49
Show file tree
Hide file tree
Showing 21 changed files with 1,973 additions and 1,626 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
1. Add the following pod to your `Podfile`:

```
pod 'ShareTripSDK', '1.0.4'
pod 'ShareTripSDK', '1.0.5'
```

2. If not already added, add `use_frameworks!` to your `Podfile`.
Expand Down Expand Up @@ -127,6 +127,11 @@ To see flight bookings use following view controller.
FlightBookingHistoryListVC()
```

6. SDK is deafult to live server of sharetrip, if you want to switch to staging server please add following configuration
```
STSDK.shared.environment = .staging
```

## Dependencies:

ShareTripsSDK depends on follwing third party pods
Expand Down
4 changes: 2 additions & 2 deletions ShareTripSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Pod::Spec.new do |s|
s.name = 'ShareTripSDK'
s.version = '1.0.4'
s.version = '1.0.5'
s.summary = 'ShareTripSDK'
s.homepage = 'https://github.com/sharetripnet/ShareTripSDK.git'
s.source = { :git => 'https://github.com/sharetripnet/ShareTripSDK.git', :tag => '1.0.4' }
s.source = { :git => 'https://github.com/sharetripnet/ShareTripSDK.git', :tag => '1.0.5' }
s.author = { 'Abdul Momen' => '[email protected]' }
s.license = { :type => "MIT", :text => "MIT License" }

Expand Down
10 changes: 5 additions & 5 deletions ShareTripSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>ShareTripSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ShareTripSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit e314e49

Please sign in to comment.