Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 5229b2b

Browse files
authored
refactoring file names in API (#28)
* android building after rename * remove duplicate version xcode ImprovedExample * Revert "android building after rename" This reverts commit 519330d. * rename ReactModalHostManager * update license
1 parent 68bc145 commit 5229b2b

20 files changed

+53
-69
lines changed

android/src/main/java/com/modal/ReactModalHostManagerImproved.java renamed to android/src/main/java/com/modal/ReactModalHostImprovedManager.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
7-
86
package com.modal;
97

108
import com.facebook.react.module.annotations.ReactModule;
119
import com.facebook.react.views.modal.ReactModalHostManager;
1210

1311
/** View manager for {@link ReactModalHostView} components. */
1412
@ReactModule(name = ReactModalHostManager.REACT_CLASS)
15-
public class ReactModalHostManagerImproved extends ReactModalHostManager {
13+
public class ReactModalHostImprovedManager extends ReactModalHostManager {
1614

1715
public static final String REACT_CLASS = "RCTModalHostViewImproved";
1816

android/src/main/java/com/text/ReactTextViewImproved.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
7-
86
package com.text;
97

108
import android.util.Log;

android/src/main/java/com/text/ReactTextViewImprovedManager.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
7-
86
package com.text;
97

108
import androidx.annotation.Nullable;

android/src/main/java/com/text/ReactTextViewImprovedShadowNode.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
7-
86
package com.text;
97

108
import android.os.Build;

android/src/main/java/com/text/TextViewPackage.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
1+
/*
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
3+
*
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
5+
*/
26
package com.text;
37

48
import com.facebook.react.ReactPackage;
59
import com.facebook.react.bridge.NativeModule;
610
import com.facebook.react.bridge.ReactApplicationContext;
711
import com.facebook.react.uimanager.ViewManager;
8-
import com.modal.ReactModalHostManagerImproved;
12+
import com.modal.ReactModalHostImprovedManager;
913
import com.textinput.ReactTextInputImprovedManager;
1014

1115
import java.util.ArrayList;
@@ -18,7 +22,7 @@ public List<ViewManager> createViewManagers(ReactApplicationContext reactContext
1822
List<ViewManager> viewManagers = new ArrayList<>();
1923
viewManagers.add(new ReactTextViewImprovedManager());
2024
viewManagers.add(new ReactTextInputImprovedManager());
21-
viewManagers.add(new ReactModalHostManagerImproved());
25+
viewManagers.add(new ReactModalHostImprovedManager());
2226
return viewManagers;
2327
}
2428

android/src/main/java/com/textinput/ReactEditTextImproved.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
7-
86
package com.textinput;
97

108
import android.graphics.Color;

android/src/main/java/com/textinput/ReactTextInputImprovedManager.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
7-
86
package com.textinput;
97

108
import androidx.annotation.Nullable;

example/ios/ImprovedExample.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/Views/RCTModalHostViewControllerImproved.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
76

87
#import <UIKit/UIKit.h>

ios/Views/RCTModalHostViewControllerImproved.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Copyright (c) Meta Platforms, Inc. and affiliates.
2+
* @see https://github.com/fabriziobertoglio1987/react-native-improved
33
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
4+
* @author Fabrizio Bertoglio https://github.com/fabriziobertoglio1987
65
*/
76

87
#import "RCTModalHostViewControllerImproved.h"

0 commit comments

Comments
 (0)