-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #315 from backbonelabs/firehose
Firehose
- Loading branch information
Showing
465 changed files
with
65,572 additions
and
630 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
235 changes: 202 additions & 33 deletions
235
android/app/src/main/java/co/backbonelabs/backbone/SessionControlService.java
Large diffs are not rendered by default.
Oops, something went wrong.
47 changes: 47 additions & 0 deletions
47
android/app/src/main/java/co/backbonelabs/backbone/UserService.java
This file contains 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,47 @@ | ||
package co.backbonelabs.backbone; | ||
|
||
import com.facebook.react.bridge.ReactApplicationContext; | ||
import com.facebook.react.bridge.ReactContextBaseJavaModule; | ||
import com.facebook.react.bridge.ReactMethod; | ||
|
||
public class UserService extends ReactContextBaseJavaModule { | ||
private static UserService instance = null; | ||
private ReactApplicationContext reactContext; | ||
|
||
private String id; | ||
|
||
public static UserService getInstance() { | ||
return instance; | ||
} | ||
|
||
public static UserService getInstance(ReactApplicationContext reactContext) { | ||
if (instance == null) { | ||
instance = new UserService(reactContext); | ||
} | ||
return instance; | ||
} | ||
|
||
private UserService(ReactApplicationContext reactContext) { | ||
super(reactContext); | ||
this.reactContext = reactContext; | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return "UserService"; | ||
} | ||
|
||
public String getUserId() { | ||
return id; | ||
} | ||
|
||
@ReactMethod | ||
public void setUserId(String userId) { | ||
id = userId; | ||
} | ||
|
||
@ReactMethod | ||
public void unsetUserId() { | ||
id = null; | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,14 +1,24 @@ | ||
PODS: | ||
- AWSCognito (2.5.6): | ||
- AWSCore (= 2.5.6) | ||
- AWSCore (2.5.6) | ||
- AWSKinesis (2.5.6): | ||
- AWSCore (= 2.5.6) | ||
- Mixpanel (3.0.8): | ||
- Mixpanel/Mixpanel (= 3.0.8) | ||
- Mixpanel/Mixpanel (3.0.8) | ||
|
||
DEPENDENCIES: | ||
- AWSCognito | ||
- AWSKinesis | ||
- Mixpanel | ||
|
||
SPEC CHECKSUMS: | ||
AWSCognito: 18edcf80780d45229371dc954c77c825c617f9c4 | ||
AWSCore: 47109d026cdbc1272624caa73114fbdd2ba3ad66 | ||
AWSKinesis: fcd6511b82be0b48c423838de52519e158ba46eb | ||
Mixpanel: 550a23d5dd95f8e9cda21e697661ffddbc8da46b | ||
|
||
PODFILE CHECKSUM: 4c137f7b98316ab4d541a1b3fb02f3cbcfd9be85 | ||
PODFILE CHECKSUM: bdbd7a22b2cc0156b6967f496ab6ded18243ad73 | ||
|
||
COCOAPODS: 1.1.1 | ||
COCOAPODS: 1.2.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.