- Notifications
You must be signed in to change notification settings - Fork2
Release/v2#1
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
pardeep-kumar-bs wants to merge7 commits intomasterChoose a base branch fromrelease/v2
base:master
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes fromall commits
Commits
Show all changes
7 commits Select commitHold shift + click to select a range
5a5ffbc Update-v2-changes
chetan-b-bigstep657d765 Added group members window
chetan-b-bigstep28ba7d3 Fixed message delay issue
chetan-b-bigstep650de97 Worked on Public Groups - Join & Leave Conversation
abhishekbadoni-bigstep7480849 Add react native app
balramgoyal1b99093 Update browser.js & index.js
balramgoyal21fd483 Add message reaction and thread support.
pardeep-kumar-bsFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 0 additions & 2 deletionsREADME.md
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
59 changes: 59 additions & 0 deletionsreact-native-redux/.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # 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 | ||
| # Android/IntelliJ | ||
| # | ||
| build/ | ||
| .idea | ||
| .gradle | ||
| local.properties | ||
| *.iml | ||
| # node.js | ||
| # | ||
| node_modules/ | ||
| npm-debug.log | ||
| yarn-error.log | ||
| # BUCK | ||
| buck-out/ | ||
| \.buckd/ | ||
| *.keystore | ||
| !debug.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://docs.fastlane.tools/best-practices/source-control/ | ||
| */fastlane/report.xml | ||
| */fastlane/Preview.html | ||
| */fastlane/screenshots | ||
| # Bundle artifact | ||
| *.jsbundle | ||
| # CocoaPods | ||
| /ios/Pods/ |
43 changes: 43 additions & 0 deletionsreact-native-redux/App.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| import React, { Component } from 'react'; | ||
| import { Provider } from 'react-redux'; | ||
| import { store } from './src/store'; | ||
| import Connect from './src/components/Connect'; | ||
| import ConversationWindow from './src/components/ConversationWindow'; | ||
| import { Channelize } from 'channelize-websdk/dist/index'; | ||
| if (process.env.NODE_ENV === 'development') { | ||
| GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest; | ||
| console.disableYellowBox = true; | ||
| } | ||
| //PUBLIC_KEY => Channelize.io public key | ||
| //LOGGEDIN_USER_ID => User id of loggedin user | ||
| //CH_ACCESS_TOKEN => Channelize access token of loggedin userid | ||
| //ANOTHER_USER_ID => The user id of another user to start chat | ||
| export default class App extends Component { | ||
| constructor(props) { | ||
| super(props); | ||
| } | ||
| componentDidMount() { | ||
| console.log('app is launched'); | ||
| } | ||
| componentWillUnmount() { | ||
| console.log('app is killed'); | ||
| } | ||
| render() { | ||
| var client = new Channelize.client({publicKey: "PUBLIC_KEY"}); | ||
| return ( | ||
| <Provider store={store}> | ||
| <Connect client={client} userId={LOGGEDIN_USER_ID} accessToken={CH_ACCESS_TOKEN}> | ||
| <ConversationWindow userId={ANOTHER_USER_ID}/> | ||
| </Connect> | ||
| </Provider> | ||
| ); | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletionsreact-native-redux/__tests__/App-test.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| /** | ||
| *@format | ||
| */ | ||
| import'react-native'; | ||
| importReactfrom'react'; | ||
| importAppfrom'../App'; | ||
| // Note: test renderer must be required after react-native. | ||
| importrendererfrom'react-test-renderer'; | ||
| it('renders correctly',()=>{ | ||
| renderer.create(<App/>); | ||
| }); |
55 changes: 55 additions & 0 deletionsreact-native-redux/android/app/_BUCK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # To learn about Buck see [Docs](https://buckbuild.com/). | ||
| # To run your application with Buck: | ||
| # - install Buck | ||
| # - `npm start` - to start the packager | ||
| # - `cd android` | ||
| # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` | ||
| # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck | ||
| # - `buck install -r android/app` - compile, install and run application | ||
| # | ||
| load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") | ||
| lib_deps = [] | ||
| create_aar_targets(glob(["libs/*.aar"])) | ||
| create_jar_targets(glob(["libs/*.jar"])) | ||
| android_library( | ||
| name = "all-libs", | ||
| exported_deps = lib_deps, | ||
| ) | ||
| android_library( | ||
| name = "app-code", | ||
| srcs = glob([ | ||
| "src/main/java/**/*.java", | ||
| ]), | ||
| deps = [ | ||
| ":all-libs", | ||
| ":build_config", | ||
| ":res", | ||
| ], | ||
| ) | ||
| android_build_config( | ||
| name = "build_config", | ||
| package = "com.awesomeproject", | ||
| ) | ||
| android_resource( | ||
| name = "res", | ||
| package = "com.awesomeproject", | ||
| res = "src/main/res", | ||
| ) | ||
| android_binary( | ||
| name = "app", | ||
| keystore = "//android/keystores:debug", | ||
| manifest = "src/main/AndroidManifest.xml", | ||
| package_type = "debug", | ||
| deps = [ | ||
| ":app-code", | ||
| ], | ||
| ) |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.