|
|
@@ -41,9 +41,11 @@ public class Dropbox
|
|
41
|
41
|
public Dropbox(ReactApplicationContext reactContext) {
|
|
42
|
42
|
super(reactContext);
|
|
43
|
43
|
|
|
|
44
|
+ String pkg = reactContext.getApplicationContext().getPackageName();
|
|
|
45
|
+ int resId = reactContext.getResources()
|
|
|
46
|
+ .getIdentifier("dropbox_app_key", "string", pkg);
|
|
44
|
47
|
appKey
|
|
45
|
|
- = reactContext.getString(
|
|
46
|
|
- org.jitsi.meet.sdk.R.string.dropbox_app_key);
|
|
|
48
|
+ = reactContext.getString(resId);
|
|
47
|
49
|
isEnabled = !TextUtils.isEmpty(appKey);
|
|
48
|
50
|
|
|
49
|
51
|
clientId = generateClientId();
|