Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge to sync between internal repo and public repo
Browse files Browse the repository at this point in the history
* right/main:
  Release SDK 1.0.2 (#35)
  Release 1.0.1 of WaaS SDK (#34)
  Remove deprecated libraries for android (#33)
  Release 1.0.0 of WaaS SDK (#32)
  Fix a known Xcode issue (#25)
  Bump vm2 from 3.9.14 to 3.9.16 and release v1.0.7 (#22)
  Update ios binaries and release 0.1.6 (#17)
  Revert "Update ios binaries to fix regression" (#16)
  Update ios binaries to fix regression (#15)
  add ios xcframeworks
  add ios and android binaries
  [chore] Update binaries and release 0.1.5 (#14)
  Change yarn installation requirement to yarn classic (#13)
  [chore] Update registry link and docs (#12)
  [chore] Add publish workflow and fix typos (#11)
  Add android support (#10)
  add waas-sdk-react-native
  • Loading branch information
yuga-cb committed Jul 10, 2023
2 parents 6ae4212 + 9ff2ffc commit 756c2a7
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.6
39 changes: 39 additions & 0 deletions ios/openssl_libcrypto.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>libcrypto.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>libcrypto.a</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Binary file not shown.
35 changes: 35 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
#
# pre-push:
# commands:
# packages-audit:
# tags: frontend security
# run: yarn audit
# gems-audit:
# tags: backend security
# run: bundle audit
#
# pre-commit:
# parallel: true
# commands:
# eslint:
# glob: "*.{js,ts,jsx,tsx}"
# run: yarn eslint {staged_files}
# rubocop:
# tags: backend style
# glob: "*.rb"
# exclude: "application.rb|routes.rb"
# run: bundle exec rubocop --force-exclusion {all_files}
# govet:
# tags: backend style
# files: git ls-files -m
# glob: "*.go"
# run: go vet {files}
# scripts:
# "hello.js":
# runner: node
# "any.go":
# runner: go run
12 changes: 12 additions & 0 deletions scripts/compress_xcframework.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

# Fail immediately on any substep failing.
set -euo pipefail

ROOT_DIR=$(pwd)
XC_DIR=$ROOT_DIR/ios/WaasSdkGo.xcframework

# Compress files that exceed Github Enterprise limit of 50MB.
cd $XC_DIR/ios-arm64/ && tar cf - WaasSdkGo.framework | gzip -9 - > WaasSdkGo.framework.tar.gz
cd $XC_DIR/ios-arm64-simulator && tar cf - WaasSdkGo.framework | gzip -9 - > WaasSdkGo.framework.tar.gz
cd $XC_DIR/ios-x86_64-simulator && tar cf - WaasSdkGo.framework | gzip -9 - > WaasSdkGo.framework.tar.gz
11 changes: 11 additions & 0 deletions scripts/uncompress_xcframework.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

# Fail immediately on any substep failing.
set -euo pipefail

ROOT_DIR=$(pwd)
XC_DIR=$ROOT_DIR/ios/WaasSdkGo.xcframework

tar -xvzf $XC_DIR/ios-arm64/WaasSdkGo.framework.tar.gz -C $XC_DIR/ios-arm64/
tar -xvzf $XC_DIR/ios-arm64-simulator/WaasSdkGo.framework.tar.gz -C $XC_DIR/ios-arm64-simulator/
tar -xvzf $XC_DIR/ios-x86_64-simulator/WaasSdkGo.framework.tar.gz -C $XC_DIR/ios-x86_64-simulator

0 comments on commit 756c2a7

Please sign in to comment.