Project re-initialization with latest react native (npx create-react-native-library)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.bigbluebuttonmobilesdk">
|
||||
package="com.bigbluebuttontabletsdk">
|
||||
|
||||
</manifest>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.bigbluebuttonmobilesdk;
|
||||
package com.bigbluebuttontabletsdk;
|
||||
|
||||
import com.facebook.react.ReactPackage;
|
||||
import com.facebook.react.bridge.NativeModule;
|
||||
@@ -9,7 +9,7 @@ import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public class BigbluebuttonMobileSdkPackage implements ReactPackage {
|
||||
public class BigBlueButtonTabletSdkPackage implements ReactPackage {
|
||||
@Override
|
||||
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
||||
return Collections.emptyList();
|
||||
@@ -17,6 +17,6 @@ public class BigbluebuttonMobileSdkPackage implements ReactPackage {
|
||||
|
||||
@Override
|
||||
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
||||
return Arrays.<ViewManager>asList(new BigbluebuttonMobileManager());
|
||||
return Arrays.<ViewManager>asList(new BigBlueButtonTabletSdkViewManager());
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.bigbluebuttonmobilesdk;
|
||||
package com.bigbluebuttontabletsdk;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.view.View;
|
||||
@@ -9,8 +9,8 @@ import com.facebook.react.uimanager.SimpleViewManager;
|
||||
import com.facebook.react.uimanager.ThemedReactContext;
|
||||
import com.facebook.react.uimanager.annotations.ReactProp;
|
||||
|
||||
public class BigbluebuttonMobileManager extends SimpleViewManager<View> {
|
||||
public static final String REACT_CLASS = "BigbluebuttonMobile";
|
||||
public class BigBlueButtonTabletSdkViewManager extends SimpleViewManager<View> {
|
||||
public static final String REACT_CLASS = "BigBlueButtonTabletSdkView";
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
Reference in New Issue
Block a user