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:
  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
jazz-cb committed May 22, 2023
2 parents 2b3a4f6 + 35226e9 commit 663e634
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 0 deletions.
Binary file added android/libs/mpc-sdk.aar
Binary file not shown.
Binary file added android/libs/waassdk-arm64-amd64-sources.jar
Binary file not shown.
Binary file added android/libs/waassdk-arm64-amd64.aar
Binary file not shown.
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
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 663e634

Please sign in to comment.