Skip to content

Support sdks v1.0 #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 97 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
58ed18f
Successfully configured Example iOS project
svlaev May 4, 2017
b06eb5f
Updated TwilioChatClient extension
svlaev May 4, 2017
46534e3
WiP: iOS SDK wrapper changes
svlaev May 4, 2017
4c6c079
Merge branch 'master' into support-sdks-v1.0
svlaev May 4, 2017
7c0b038
Successfully building the native part of the iOS Wrapper
svlaev May 8, 2017
bc940b1
Fixed bugs caused by mistyped event names
svlaev May 8, 2017
9860241
WiP: JS wrapper migration
svlaev May 8, 2017
9514417
Added two convenience methods to `Member` class
svlaev May 9, 2017
7c28d98
Added two convenience methods to `Member` class
svlaev May 9, 2017
0fa0b59
Added ChannelDescriptor class
svlaev May 9, 2017
1933d59
Use JS SDK method names in the new `Member` class methods (by convent…
svlaev May 9, 2017
2f94ad7
The `Paginator` class works with `UsedDescriptor`s now
svlaev May 9, 2017
1ab0b22
Changed `updated` delegate methods
svlaev May 9, 2017
333c07a
WiP: Migrating the Android wrapper
svlaev May 9, 2017
6607b74
Fixes to the Android version of the Wrapper
svlaev May 10, 2017
9ea7248
Removed unnecessary method
svlaev May 10, 2017
1ec0c90
Merge branch 'master' into support-sdks-v1.0
svlaev May 10, 2017
4c6879b
Fixed SDK versions after the merge of branch `master`
svlaev May 10, 2017
686b795
Ran iOS project after the merge of branch `master`
svlaev May 10, 2017
298b279
Fixed missing semicolon
svlaev May 12, 2017
b1bdbed
Merge branch 'master' into support-sdks-v1.0
svlaev May 15, 2017
424adf5
Removed `UserInfo` references
svlaev May 15, 2017
9d048da
Omit synchronizationStrategy property on client init
svlaev May 15, 2017
9a62714
Fixed imports
svlaev May 15, 2017
dafe3e9
Updated delegate method for client sync status change
svlaev May 15, 2017
4f82da2
Client sync status changed event has new name now
svlaev May 15, 2017
35bbfa9
Removed channel’s `initialize` method. It’s not necessary anymore
svlaev May 15, 2017
1ff1573
added new example
benoist May 16, 2017
0edc178
Merge remote-tracking branch 'svlaev/support-sdks-v1.0' into support-…
benoist May 16, 2017
f8d0b4a
added test setup
benoist May 16, 2017
58218ac
fix endpoint
benoist May 16, 2017
f0ee3a1
Merge pull request #1 from benoist/support-sdks-v1.0
svlaev May 16, 2017
3ee1a75
Fix getMembers returning undefined on android
Kabangi Jun 14, 2017
8303197
Implement getAndSubscribeUser and userDescriptor android
Kabangi Jun 14, 2017
4d2c71e
change getAndSubscribeUser to subscribedUser
Kabangi Jun 14, 2017
69d501d
Fix: return a string instead of unsupported Long promise response
Kabangi Jun 16, 2017
c11a7d8
fix: Rename getAndSubscribeUser to subscribedUser
Kabangi Jun 16, 2017
0c6a522
Upgrade android twill sdk
Kabangi Jun 16, 2017
7ef210b
upgrade twillio sdk to latest version.
Kabangi Jul 7, 2017
235fbe5
add channelSid to convert
Kabangi Jul 10, 2017
f6593ef
Add messages event to client object
Kabangi Jul 10, 2017
25e92cf
fix: getChannel not resolving on channel Descriptor
Kabangi Jul 10, 2017
eab205d
fix unresolved symbol Message
Kabangi Jul 10, 2017
7f3448d
fix channels creations always public
Kabangi Jul 11, 2017
8e1bed2
revert message listeners
Kabangi Jul 11, 2017
b69d691
revert event signature change
Kabangi Jul 11, 2017
7f6bf36
Upgrade twill sdk
Kabangi Aug 16, 2017
1546516
Add access manager methods
Kabangi Aug 24, 2017
87e7a66
Fix crashes on channel shutdown
Kabangi Aug 24, 2017
9584181
Bump version
Kabangi Aug 25, 2017
69baa98
Change Message constructor signature
Kabangi Aug 28, 2017
e9042bd
Bump version
Kabangi Aug 28, 2017
3c0ad0a
Fix channel resolving on ios
ptmt Aug 31, 2017
9cbb5eb
Merge pull request #1 from ptmt/patch-3
Kabangi Aug 31, 2017
21d9b71
Attempt to fix ios error with nullable index
ptmt Sep 4, 2017
48a0167
Merge pull request #2 from ptmt/patch-3
Kabangi Sep 4, 2017
7e39420
More __nonnull specifications
ptmt Sep 7, 2017
177c297
Fix one more crash (please squash the commit)
ptmt Sep 7, 2017
1c54b07
Merge pull request #3 from ptmt/patch-4
Kabangi Sep 7, 2017
bbe55a3
Add nullable and nonnull instructions to methods
ptmt Sep 7, 2017
b262306
Merge pull request #4 from ptmt/patch-5
Kabangi Sep 7, 2017
228627a
Upgrade to the latest version android
Kabangi Sep 11, 2017
10b9a09
Version bump
Kabangi Sep 11, 2017
30e6e20
Merge commit 'b2623065e583ff601d367127e36a41f832058e3b' into support-…
Kabangi Sep 11, 2017
acf50ed
Make sure TwilioChat archived properly
ptmt Sep 13, 2017
3f5775c
Merge pull request #5 from ptmt/patch-6
Kabangi Sep 13, 2017
6d62815
Bump version
Kabangi Sep 13, 2017
ffbc83b
Fix getMembers returning undefined on android
Kabangi Jun 14, 2017
0a8495d
Implement getAndSubscribeUser and userDescriptor android
Kabangi Jun 14, 2017
74b05f2
change getAndSubscribeUser to subscribedUser
Kabangi Jun 14, 2017
533d56d
Fix: return a string instead of unsupported Long promise response
Kabangi Jun 16, 2017
161dd4d
fix: Rename getAndSubscribeUser to subscribedUser
Kabangi Jun 16, 2017
763a777
Upgrade android twill sdk
Kabangi Jun 16, 2017
3d163ce
upgrade twillio sdk to latest version.
Kabangi Jul 7, 2017
682137b
add channelSid to convert
Kabangi Jul 10, 2017
0d62db1
Add messages event to client object
Kabangi Jul 10, 2017
80fb0e3
fix: getChannel not resolving on channel Descriptor
Kabangi Jul 10, 2017
c5df97c
fix unresolved symbol Message
Kabangi Jul 10, 2017
77d4734
fix channels creations always public
Kabangi Jul 11, 2017
5c5a122
revert message listeners
Kabangi Jul 11, 2017
07455ce
revert event signature change
Kabangi Jul 11, 2017
eca77de
Upgrade twill sdk
Kabangi Aug 16, 2017
1ad89ee
Add access manager methods
Kabangi Aug 24, 2017
4a24d58
Fix crashes on channel shutdown
Kabangi Aug 24, 2017
44890dd
Bump version
Kabangi Aug 25, 2017
40a7525
Change Message constructor signature
Kabangi Aug 28, 2017
a29db95
Bump version
Kabangi Aug 28, 2017
dbbce9a
Fix channel resolving on ios
ptmt Aug 31, 2017
3b4ea28
Attempt to fix ios error with nullable index
ptmt Sep 4, 2017
66e6bc6
More __nonnull specifications
ptmt Sep 7, 2017
13f9dfd
Fix one more crash (please squash the commit)
ptmt Sep 7, 2017
bf1801e
Add nullable and nonnull instructions to methods
ptmt Sep 7, 2017
871bf01
Upgrade to the latest version android
Kabangi Sep 11, 2017
6f8c639
Version bump
Kabangi Sep 11, 2017
1d28862
Upgrade twillio sdk
Kabangi Oct 22, 2017
9a4fe84
Bump version
Kabangi Oct 22, 2017
958040a
Merge branch 'support-sdks-v1.0' of https://github.com/Kabangi/react-…
Kabangi Oct 22, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Example/ios/Pods
ios/Pods
*.xcuserstate
ios/RCTTwilioChat.xcodeproj/xcuserdata/
Example/server/.env

# android
*.iml
Expand Down
3 changes: 3 additions & 0 deletions Example/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["react-native"]
}
6 changes: 6 additions & 0 deletions Example/.buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
90 changes: 19 additions & 71 deletions Example/.flowconfig
Original file line number Diff line number Diff line change
@@ -1,71 +1,18 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js

# We fork some components by platform.
.*/*.web.js
.*/*.android.js
; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

# Some modules have their own node_modules with overlap
.*/node_modules/node-haste/.*

# Ugh
.*/node_modules/babel.*
.*/node_modules/babylon.*
.*/node_modules/invariant.*

# Ignore react and fbjs where there are overlaps, but don't ignore
# anything that react-native relies on
.*/node_modules/fbjs/lib/Map.js
.*/node_modules/fbjs/lib/ErrorUtils.js

# Flow has a built-in definition for the 'react' module which we prefer to use
# over the currently-untyped source
.*/node_modules/react/react.js
.*/node_modules/react/lib/React.js
.*/node_modules/react/lib/ReactDOM.js

.*/__mocks__/.*
.*/__tests__/.*

.*/commoner/test/source/widget/share.js

# Ignore commoner tests
.*/node_modules/commoner/test/.*

# See https://github.com/facebook/flow/issues/442
.*/react-tools/node_modules/commoner/lib/reader.js

# Ignore jest
.*/node_modules/jest-cli/.*

# Ignore Website
.*/website/.*

# Ignore generators
.*/local-cli/generator.*

# Ignore BUCK generated folders
.*\.buckd/

# Ignore RNPM
.*/local-cli/rnpm/.*

.*/node_modules/is-my-json-valid/test/.*\.json
.*/node_modules/iconv-lite/encodings/tables/.*\.json
.*/node_modules/y18n/test/.*\.json
.*/node_modules/spdx-license-ids/spdx-license-ids.json
.*/node_modules/spdx-exceptions/index.json
.*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
.*/node_modules/resolve/lib/core.json
.*/node_modules/jsonparse/samplejson/.*\.json
.*/node_modules/json5/test/.*\.json
.*/node_modules/ua-parser-js/test/.*\.json
.*/node_modules/builtin-modules/builtin-modules.json
.*/node_modules/binary-extensions/binary-extensions.json
.*/node_modules/url-regex/tlds.json
.*/node_modules/joi/.*\.json
.*/node_modules/isemail/.*\.json
.*/node_modules/tr46/.*\.json
; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js
.*/Libraries/react-native/ReactNative.js

[include]

Expand All @@ -75,25 +22,26 @@ node_modules/react-native/flow
flow/

[options]
module.system=haste
emoji=true

esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
module.system=haste

experimental.strict_type_args=true

munge_underscores=true

module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-6]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-6]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-2]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

unsafe.enable_getters_and_setters=true

[version]
^0.26.0
^0.42.0
1 change: 1 addition & 0 deletions Example/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -text
53 changes: 53 additions & 0 deletions Example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
Loading