-
Notifications
You must be signed in to change notification settings - Fork 25
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
VBLOCKS-2485: Changes needed due to refactor of react native sdk #129
Conversation
} | ||
} | ||
|
||
private final VoiceActivityProxy activityProxy = new VoiceActivityProxy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarifying Question: Will users who just use the SDK also need to make these changes in their React Native Apps?
I.E: users not using the reference app, but using the sdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but we are still in beta, and it will make customers lives easier down the line... because we abstract much of it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like these changes will be included in beta.4
, could we have a guide to updating to beta.4
for users who are on beta.3
and below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhuynh5757 https://issues.corp.twilio.com/browse/VBLOCKS-2556 has been created
if (Manifest.permission.RECORD_AUDIO.equals(permission)) { | ||
Toast.makeText( | ||
MainActivity.this, | ||
"Microphone permissions needed. Please allow in your application settings.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android doesn't automatically give these prompts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, it only places a system pop-up when you request permissions.... but they can always disable it later from the system menus.
import com.microsoft.appcenter.AppCenter; | ||
import com.microsoft.appcenter.distribute.Distribute; | ||
import com.twiliovoicereactnativereferenceapp.newarchitecture.MainApplicationReactNativeHost; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove extra line
AppCenter.start(this, BuildConfig.APPCENTER_APP_KEY, Distribute.class); | ||
@Override | ||
public void onTerminate() { | ||
// Note: this method is not called when running on device, devies just kill the process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is devies
a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch!
app/android/build.gradle
Outdated
@@ -25,7 +19,7 @@ buildscript { | |||
classpath("com.facebook.react:react-native-gradle-plugin") | |||
classpath("de.undercouch:gradle-download-task:5.0.1") | |||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") | |||
classpath("com.google.gms:google-services:4.3.15") | |||
classpath("com.google.gms:google-services:4.3.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want to downgrade from 4.3.15 to 4.3.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, let me test.... I believe I did that to limit issues with overlapping dependencies...
Submission Checklist
README.md
reflects new featuresCHANGELOG.md
reflects any feature, bug fixes, or known issues made in the source codeFiles changed
tab was made prior to submitting the pull request ensuring the style guide was followedDescription
Updated to reflect changes in react native SDK
Breakdown
Validation
Additional Notes
None
Contributing to Twilio