diff --git a/LICENSE b/LICENSE
index d6a9069..f9af61c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2022 Alex Demchenko
+Copyright (c) 2022 Ayush Khade
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 160a18a..e69de29 100644
--- a/README.md
+++ b/README.md
@@ -1,142 +0,0 @@
-# React Native Module Template
-
-A starter for the React Native library written in TypeScript, with linked example project and optional native code written in Swift and Kotlin. This project aims to support the latest React Native versions and keep best practices in mind.
-
-Are you looking for the project template? Check [react-native-better-template](https://github.com/demchenkoalex/react-native-better-template).
-
-## Alternatives
-
-[react-native-builder-bob](https://github.com/callstack/react-native-builder-bob)
-
-[create-react-native-module](https://github.com/brodybits/create-react-native-module)
-
-### Why this template?
-
-First of all, it has TypeScript set up and ready. Also, if you will use a native code, this template uses Swift and Kotlin, which is much better than Objective-C and Java.
-
-The example project is linked in a way so that you can work on your library and see the results of your work immediately. If you use native code you can see linked libraries in the example project opened in Xcode or Android Studio and can modify the code directly from there, just remember to rebuild the example to see the changes. When you change TypeScript code you need to compile it first (using `yarn` command, it has `prepare` hook set up) since with npm you are supplying `lib` folder with JavaScript and type definitions, but there is an [option](#how-to-see-my-changes-immediately-in-the-example) to point example to the `src` folder instead, so that when you modify your library you see changes immediately in the example thanks to [Fast Refresh](https://facebook.github.io/react-native/docs/fast-refresh).
-
-## Usage
-
-Clone this repo, rename the `react-native-module-template` folder to your library name, navigate to that folder and run
-
-```
-node rename.js
-```
-
-or if you want to **remove native code**
-
-```
-node rename.js js-only
-```
-
-This will invoke rename script, which removes all references to the template and makes some cleanup.
-
-⚠️⚠️⚠️ This script is not made to be bulletproof, some assumptions are made:
-
-- The script will ask for different information (such as library name, author name, author email etc.) and there might be instructions in the parenthesis, please follow them or something will likely **fail**.
-- Use `kebab-case` for the library name, _preferably_ with `react-native` prefix (e.g. `react-native-blue-button`, blue-button, button).
-- Use `PascalCase` for the library short name (in case you will have native code, with `js-only` argument script will not ask for this), it is used in native projects (RNModuleTemplate.xcodeproj, RNModuleTemplatePackage.kt etc.). If you prefixed your library name with `react-native` use prefix `RN` for the short name (e.g. `RNBlueButton`, BlueButton, Button).
-- Library homepage is used only in `package.json`, if you are not sure, you can press enter to skip this step and modify this field later. Library git url is used only in `.podspec` file, same as above (note that this file will be removed if you pass `js-only` argument).
-- Please don't use any special characters in author name since it is a part of Android package name, (e.g. `com.alexdemchenko.reactnativemoduletemplate`) and used in Kotlin and other files. Android package name is generated from author name (with removed spaces and lowercased) and library name (with removed dashes).
-
-Don't forget to remove the rename script, do `yarn` to install dependencies in root and example folders, and, if you kept native code, do `pod install` in `example/ios`.
-
-If you didn't use `js-only` you are good to go. If you did, you need to unlink native code from the example
-
-### iOS
-
-Open Xcode, in the project navigator find `Libraries` folder, reveal contents using the small arrow and hit `DELETE` on `RNModuleTemplate.xcodeproj`. Alternatively, open `example/ios/example.xcodeproj/project.pbxproj`, search for the `Template` (there should be a number of `libRNModuleTemplate.a` and `RNModuleTemplate.xcodeproj` files) and remove all references to them. Please remove whole lines if it among files with other names or whole sections if it is the only item. Groups, like `Library` or `Products`, must stay, just remove the template from appropriate children field.
-
-### Android
-
-In `example/android/settings.gradle` remove
-
-```gradle
-include ':react-native-module-template'
-project(':react-native-module-template').projectDir = new File(rootProject.projectDir, '../../android')
-```
-
-In `example/android/app/build.gradle` remove
-
-```gradle
-implementation project(':react-native-module-template')
-```
-
-In `example/android/app/src/main/java/com/example/MainApplication.kt` remove
-
-```kotlin
-import com.alexdemchenko.reactnativemoduletemplate.RNModuleTemplatePackage
-
-packages.add(RNModuleTemplatePackage())
-```
-
-## How example project is linked
-
-The native part is manually linked (you can see changes for Android right above), for iOS check [official docs](https://facebook.github.io/react-native/docs/linking-libraries-ios#manual-linking), but **Header Search Paths** are pointing to the `ios` folder, `$(SRCROOT)/../../ios`, not node_modules.
-
-JavaScript part is using Metro Bundler configuration, see [this article](https://callstack.com/blog/adding-an-example-app-to-your-react-native-library/) for more details and final configuration [here](example/metro.config.js).
-
-In the example's [tsconfig.json](example/tsconfig.json) custom path is specified, so you can import your code the same way end user will do.
-
-```json
-"paths": {
- "react-native-module-template": ["../src"]
-},
-```
-
-### How to see my changes immediately in the example
-
-In the library's `package.json` change
-
-```json
-"main": "lib/index.js",
-```
-
-to
-
-```json
-"main": "src/index.tsx", // or `index.ts` if you don't have JSX there
-```
-
-restart the bundler if you have it running
-
-```
-yarn start
-```
-
-⚠️⚠️⚠️ Don't forget to change this back before making a release, since with npm you supply `lib` folder, not `src`. Let me know if there is a way to do this automatically.
-
-## Release
-
-Create an npm account [here](https://www.npmjs.com/signup) if you don't have one. Then do
-
-```
-npm login
-```
-
-and
-
-```
-npm publish
-```
-
-ℹ️ If you want to see what files will be included in your package before release run `npm pack`
-
-ℹ️ If you have native code in your library most of the time you will need `.kt`, `.h`/`.m`, `.swift` files, `project.pbxproj`, `AndroidManifest.xml` and `build.gradle` aside from TypeScript code and default stuff, so keep an eye on what you are publishing, some configuration/build folders or files might sneak in. Most of them (if not all) are ignored in [package.json](package.json).
-
-## FAQ
-
-### VSCode ESLint plugin does not lint example project
-
-By default, ESLint is configured separately for the library's source code and the example. It uses two `.eslintignore` files, the first one for the library, among others it ignores `/example` folder, and the second one for the example project. Since `/example` folder is ignored in one of these files, the plugin does not lint anything in it, see this [issue](https://github.com/microsoft/vscode-eslint/issues/111). To fix that, go to the VSCode settings and set
-
-```json
-"eslint.workingDirectories": [
- "./example"
-]
-```
-
-## License
-
-[MIT](LICENSE)
diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml
index 33f4d35..e11aeb6 100644
--- a/android/src/main/AndroidManifest.xml
+++ b/android/src/main/AndroidManifest.xml
@@ -1,2 +1,2 @@
+ package="com.ayushkhade.reactnativetooltipprogressbar">
diff --git a/android/src/main/java/com/alexdemchenko/reactnativemoduletemplate/RNModuleTemplateModule.kt b/android/src/main/java/com/ayushkhade/reactnativetooltipprogressbar/RNProgressBarModule.kt
similarity index 50%
rename from android/src/main/java/com/alexdemchenko/reactnativemoduletemplate/RNModuleTemplateModule.kt
rename to android/src/main/java/com/ayushkhade/reactnativetooltipprogressbar/RNProgressBarModule.kt
index dcb4409..1dc5ed6 100644
--- a/android/src/main/java/com/alexdemchenko/reactnativemoduletemplate/RNModuleTemplateModule.kt
+++ b/android/src/main/java/com/ayushkhade/reactnativetooltipprogressbar/RNProgressBarModule.kt
@@ -1,11 +1,11 @@
-package com.alexdemchenko.reactnativemoduletemplate
+package com.ayushkhade.reactnativetooltipprogressbar
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
-class RNModuleTemplateModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) {
+class RNProgressBarModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) {
- override fun getName() = "RNModuleTemplateModule"
+ override fun getName() = "RNProgressBarModule"
override fun getConstants(): MutableMap {
return hashMapOf("count" to 1)
diff --git a/android/src/main/java/com/alexdemchenko/reactnativemoduletemplate/RNModuleTemplatePackage.kt b/android/src/main/java/com/ayushkhade/reactnativetooltipprogressbar/RNProgressBarPackage.kt
similarity index 74%
rename from android/src/main/java/com/alexdemchenko/reactnativemoduletemplate/RNModuleTemplatePackage.kt
rename to android/src/main/java/com/ayushkhade/reactnativetooltipprogressbar/RNProgressBarPackage.kt
index 7efd2ba..316b0b0 100644
--- a/android/src/main/java/com/alexdemchenko/reactnativemoduletemplate/RNModuleTemplatePackage.kt
+++ b/android/src/main/java/com/ayushkhade/reactnativetooltipprogressbar/RNProgressBarPackage.kt
@@ -1,11 +1,11 @@
-package com.alexdemchenko.reactnativemoduletemplate
+package com.ayushkhade.reactnativetooltipprogressbar
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
-class RNModuleTemplatePackage : ReactPackage {
+class RNProgressBarPackage : ReactPackage {
override fun createViewManagers(reactContext: ReactApplicationContext):
MutableList> {
@@ -14,6 +14,6 @@ class RNModuleTemplatePackage : ReactPackage {
override fun createNativeModules(reactContext: ReactApplicationContext):
MutableList {
- return mutableListOf(RNModuleTemplateModule(reactContext))
+ return mutableListOf(RNProgressBarModule(reactContext))
}
}
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 68c76c2..ce15cdd 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -190,7 +190,7 @@ android {
}
dependencies {
- implementation project(':react-native-module-template')
+ implementation project(':react-native-tooltip-progress-bar')
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+' // From node_modules
diff --git a/example/android/app/src/main/java/com/example/MainApplication.kt b/example/android/app/src/main/java/com/example/MainApplication.kt
index a92228b..ae396e0 100644
--- a/example/android/app/src/main/java/com/example/MainApplication.kt
+++ b/example/android/app/src/main/java/com/example/MainApplication.kt
@@ -2,7 +2,7 @@ package com.example
import android.app.Application
import android.content.Context
-import com.alexdemchenko.reactnativemoduletemplate.RNModuleTemplatePackage
+import com.ayushkhade.reactnativetooltipprogressbar.RNProgressBarPackage
import com.facebook.react.*
import com.facebook.soloader.SoLoader
import java.lang.reflect.InvocationTargetException
@@ -18,7 +18,7 @@ class MainApplication : Application(), ReactApplication {
val packages = PackageList(this).packages
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(MyReactNativePackage());
- packages.add(RNModuleTemplatePackage())
+ packages.add(RNProgressBarPackage())
return packages
}
diff --git a/example/android/settings.gradle b/example/android/settings.gradle
index 9063ded..dfa61ba 100644
--- a/example/android/settings.gradle
+++ b/example/android/settings.gradle
@@ -1,7 +1,7 @@
rootProject.name = 'example'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
-include ':react-native-module-template'
-project(':react-native-module-template').projectDir = new File(rootProject.projectDir, '../../android')
+include ':react-native-tooltip-progress-bar'
+project(':react-native-tooltip-progress-bar').projectDir = new File(rootProject.projectDir, '../../android')
include ':app'
diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj
index 3d977f9..2fc5520 100644
--- a/example/ios/example.xcodeproj/project.pbxproj
+++ b/example/ios/example.xcodeproj/project.pbxproj
@@ -11,16 +11,16 @@
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
FAA6DE282607FC1C0044CA6D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA6DE272607FC1C0044CA6D /* AppDelegate.swift */; };
- FAB9070E279B4A83008B1D17 /* libRNModuleTemplateModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FAB9070D279B4A6B008B1D17 /* libRNModuleTemplateModule.a */; };
+ FAB9070E279B4A83008B1D17 /* libRNProgressBarModule.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FAB9070D279B4A6B008B1D17 /* libRNProgressBarModule.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
FAB9070C279B4A6B008B1D17 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
- containerPortal = FAB90708279B4A6B008B1D17 /* RNModuleTemplateModule.xcodeproj */;
+ containerPortal = FAB90708279B4A6B008B1D17 /* RNProgressBarModule.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = FA0EFF60236CC8FB00069FA8;
- remoteInfo = RNModuleTemplateModule;
+ remoteInfo = RNProgressBarModule;
};
/* End PBXContainerItemProxy section */
@@ -35,7 +35,7 @@
F9197C6B9DA65F8C6AC6D250 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = ""; };
FAA6DE272607FC1C0044CA6D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = example/AppDelegate.swift; sourceTree = ""; };
FAA6DE2A2607FC480044CA6D /* example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "example-Bridging-Header.h"; path = "example/example-Bridging-Header.h"; sourceTree = ""; };
- FAB90708279B4A6B008B1D17 /* RNModuleTemplateModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNModuleTemplateModule.xcodeproj; path = ../../ios/RNModuleTemplateModule.xcodeproj; sourceTree = ""; };
+ FAB90708279B4A6B008B1D17 /* RNProgressBarModule.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNProgressBarModule.xcodeproj; path = ../../ios/RNProgressBarModule.xcodeproj; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -43,7 +43,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- FAB9070E279B4A83008B1D17 /* libRNModuleTemplateModule.a in Frameworks */,
+ FAB9070E279B4A83008B1D17 /* libRNProgressBarModule.a in Frameworks */,
0264ED890D079BB9A99DCA28 /* libPods-example.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -75,7 +75,7 @@
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
isa = PBXGroup;
children = (
- FAB90708279B4A6B008B1D17 /* RNModuleTemplateModule.xcodeproj */,
+ FAB90708279B4A6B008B1D17 /* RNProgressBarModule.xcodeproj */,
);
name = Libraries;
sourceTree = "";
@@ -114,7 +114,7 @@
FAB90709279B4A6B008B1D17 /* Products */ = {
isa = PBXGroup;
children = (
- FAB9070D279B4A6B008B1D17 /* libRNModuleTemplateModule.a */,
+ FAB9070D279B4A6B008B1D17 /* libRNProgressBarModule.a */,
);
name = Products;
sourceTree = "";
@@ -171,7 +171,7 @@
projectReferences = (
{
ProductGroup = FAB90709279B4A6B008B1D17 /* Products */;
- ProjectRef = FAB90708279B4A6B008B1D17 /* RNModuleTemplateModule.xcodeproj */;
+ ProjectRef = FAB90708279B4A6B008B1D17 /* RNProgressBarModule.xcodeproj */;
},
);
projectRoot = "";
@@ -182,10 +182,10 @@
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
- FAB9070D279B4A6B008B1D17 /* libRNModuleTemplateModule.a */ = {
+ FAB9070D279B4A6B008B1D17 /* libRNProgressBarModule.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
- path = libRNModuleTemplateModule.a;
+ path = libRNProgressBarModule.a;
remoteRef = FAB9070C279B4A6B008B1D17 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
diff --git a/example/src/App.tsx b/example/src/App.tsx
index 3c883ef..9212777 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -1,9 +1,9 @@
import React, { useEffect } from 'react'
-import RNModuleTemplateModule, { Counter } from 'react-native-module-template'
+import RNProgressBarModule, { Counter } from 'react-native-tooltip-progress-bar'
const App = () => {
useEffect(() => {
- console.log(RNModuleTemplateModule)
+ console.log(RNProgressBarModule)
})
return
diff --git a/example/tsconfig.json b/example/tsconfig.json
index 5c06e4e..13d725e 100644
--- a/example/tsconfig.json
+++ b/example/tsconfig.json
@@ -7,7 +7,7 @@
"module": "CommonJS",
"noEmit": true,
"paths": {
- "react-native-module-template": ["../src"]
+ "react-native-tooltip-progress-bar": ["../src"]
},
"skipLibCheck": true,
"strict": true,
diff --git a/ios/RNModuleTemplateModule.m b/ios/RNModuleTemplateModule.m
deleted file mode 100644
index 379483f..0000000
--- a/ios/RNModuleTemplateModule.m
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// RNModuleTemplateModule.m
-// RNModuleTemplateModule
-//
-// Copyright © 2022 Alex Demchenko. All rights reserved.
-//
-
-#import
-
-@interface RCT_EXTERN_MODULE(RNModuleTemplateModule, NSObject)
-@end
diff --git a/ios/RNModuleTemplateModule-Bridging-Header.h b/ios/RNProgressBarModule-Bridging-Header.h
similarity index 100%
rename from ios/RNModuleTemplateModule-Bridging-Header.h
rename to ios/RNProgressBarModule-Bridging-Header.h
diff --git a/ios/RNProgressBarModule.m b/ios/RNProgressBarModule.m
new file mode 100644
index 0000000..7b60b89
--- /dev/null
+++ b/ios/RNProgressBarModule.m
@@ -0,0 +1,11 @@
+//
+// RNProgressBarModule.m
+// RNProgressBarModule
+//
+// Copyright © 2022 Ayush Khade. All rights reserved.
+//
+
+#import
+
+@interface RCT_EXTERN_MODULE(RNProgressBarModule, NSObject)
+@end
diff --git a/ios/RNModuleTemplateModule.swift b/ios/RNProgressBarModule.swift
similarity index 51%
rename from ios/RNModuleTemplateModule.swift
rename to ios/RNProgressBarModule.swift
index 5957724..8bf0d6f 100644
--- a/ios/RNModuleTemplateModule.swift
+++ b/ios/RNProgressBarModule.swift
@@ -1,14 +1,14 @@
//
-// RNModuleTemplateModule.swift
-// RNModuleTemplateModule
+// RNProgressBarModule.swift
+// RNProgressBarModule
//
-// Copyright © 2022 Alex Demchenko. All rights reserved.
+// Copyright © 2022 Ayush Khade. All rights reserved.
//
import Foundation
-@objc(RNModuleTemplateModule)
-class RNModuleTemplateModule: NSObject {
+@objc(RNProgressBarModule)
+class RNProgressBarModule: NSObject {
@objc
func constantsToExport() -> [AnyHashable : Any]! {
return ["count": 1]
diff --git a/ios/RNModuleTemplateModule.xcodeproj/project.pbxproj b/ios/RNProgressBarModule.xcodeproj/project.pbxproj
similarity index 80%
rename from ios/RNModuleTemplateModule.xcodeproj/project.pbxproj
rename to ios/RNProgressBarModule.xcodeproj/project.pbxproj
index 4dc379d..8a9a88a 100644
--- a/ios/RNModuleTemplateModule.xcodeproj/project.pbxproj
+++ b/ios/RNProgressBarModule.xcodeproj/project.pbxproj
@@ -7,8 +7,8 @@
objects = {
/* Begin PBXBuildFile section */
- FA4F9FE82512AA42002DB4D5 /* RNModuleTemplateModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA4F9FE72512AA42002DB4D5 /* RNModuleTemplateModule.swift */; };
- FA4F9FEB2512ACC2002DB4D5 /* RNModuleTemplateModule.m in Sources */ = {isa = PBXBuildFile; fileRef = FA4F9FEA2512ACC2002DB4D5 /* RNModuleTemplateModule.m */; };
+ FA4F9FE82512AA42002DB4D5 /* RNProgressBarModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA4F9FE72512AA42002DB4D5 /* RNProgressBarModule.swift */; };
+ FA4F9FEB2512ACC2002DB4D5 /* RNProgressBarModule.m in Sources */ = {isa = PBXBuildFile; fileRef = FA4F9FEA2512ACC2002DB4D5 /* RNProgressBarModule.m */; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@@ -24,10 +24,10 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
- FA0EFF60236CC8FB00069FA8 /* libRNModuleTemplateModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNModuleTemplateModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
- FA4F9FE62512AA41002DB4D5 /* RNModuleTemplateModule-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNModuleTemplateModule-Bridging-Header.h"; sourceTree = ""; };
- FA4F9FE72512AA42002DB4D5 /* RNModuleTemplateModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RNModuleTemplateModule.swift; sourceTree = ""; };
- FA4F9FEA2512ACC2002DB4D5 /* RNModuleTemplateModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNModuleTemplateModule.m; sourceTree = ""; };
+ FA0EFF60236CC8FB00069FA8 /* libRNProgressBarModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNProgressBarModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
+ FA4F9FE62512AA41002DB4D5 /* RNProgressBarModule-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNProgressBarModule-Bridging-Header.h"; sourceTree = ""; };
+ FA4F9FE72512AA42002DB4D5 /* RNProgressBarModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RNProgressBarModule.swift; sourceTree = ""; };
+ FA4F9FEA2512ACC2002DB4D5 /* RNProgressBarModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNProgressBarModule.m; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -44,9 +44,9 @@
FA0EFF57236CC8FB00069FA8 = {
isa = PBXGroup;
children = (
- FA4F9FE62512AA41002DB4D5 /* RNModuleTemplateModule-Bridging-Header.h */,
- FA4F9FEA2512ACC2002DB4D5 /* RNModuleTemplateModule.m */,
- FA4F9FE72512AA42002DB4D5 /* RNModuleTemplateModule.swift */,
+ FA4F9FE62512AA41002DB4D5 /* RNProgressBarModule-Bridging-Header.h */,
+ FA4F9FEA2512ACC2002DB4D5 /* RNProgressBarModule.m */,
+ FA4F9FE72512AA42002DB4D5 /* RNProgressBarModule.swift */,
FA0EFF61236CC8FB00069FA8 /* Products */,
);
sourceTree = "";
@@ -54,7 +54,7 @@
FA0EFF61236CC8FB00069FA8 /* Products */ = {
isa = PBXGroup;
children = (
- FA0EFF60236CC8FB00069FA8 /* libRNModuleTemplateModule.a */,
+ FA0EFF60236CC8FB00069FA8 /* libRNProgressBarModule.a */,
);
name = Products;
sourceTree = "";
@@ -62,9 +62,9 @@
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
- FA0EFF5F236CC8FB00069FA8 /* RNModuleTemplateModule */ = {
+ FA0EFF5F236CC8FB00069FA8 /* RNProgressBarModule */ = {
isa = PBXNativeTarget;
- buildConfigurationList = FA0EFF69236CC8FB00069FA8 /* Build configuration list for PBXNativeTarget "RNModuleTemplateModule" */;
+ buildConfigurationList = FA0EFF69236CC8FB00069FA8 /* Build configuration list for PBXNativeTarget "RNProgressBarModule" */;
buildPhases = (
FA0EFF5C236CC8FB00069FA8 /* Sources */,
FA0EFF5D236CC8FB00069FA8 /* Frameworks */,
@@ -74,9 +74,9 @@
);
dependencies = (
);
- name = RNModuleTemplateModule;
- productName = RNModuleTemplateModule;
- productReference = FA0EFF60236CC8FB00069FA8 /* libRNModuleTemplateModule.a */;
+ name = RNProgressBarModule;
+ productName = RNProgressBarModule;
+ productReference = FA0EFF60236CC8FB00069FA8 /* libRNProgressBarModule.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
@@ -86,7 +86,7 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1240;
- ORGANIZATIONNAME = "Alex Demchenko";
+ ORGANIZATIONNAME = "Ayush Khade";
TargetAttributes = {
FA0EFF5F236CC8FB00069FA8 = {
CreatedOnToolsVersion = 11.1;
@@ -94,7 +94,7 @@
};
};
};
- buildConfigurationList = FA0EFF5B236CC8FB00069FA8 /* Build configuration list for PBXProject "RNModuleTemplateModule" */;
+ buildConfigurationList = FA0EFF5B236CC8FB00069FA8 /* Build configuration list for PBXProject "RNProgressBarModule" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
@@ -107,7 +107,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
- FA0EFF5F236CC8FB00069FA8 /* RNModuleTemplateModule */,
+ FA0EFF5F236CC8FB00069FA8 /* RNProgressBarModule */,
);
};
/* End PBXProject section */
@@ -117,8 +117,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- FA4F9FE82512AA42002DB4D5 /* RNModuleTemplateModule.swift in Sources */,
- FA4F9FEB2512ACC2002DB4D5 /* RNModuleTemplateModule.m in Sources */,
+ FA4F9FE82512AA42002DB4D5 /* RNProgressBarModule.swift in Sources */,
+ FA4F9FEB2512ACC2002DB4D5 /* RNProgressBarModule.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -256,7 +256,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
- SWIFT_OBJC_BRIDGING_HEADER = "RNModuleTemplateModule-Bridging-Header.h";
+ SWIFT_OBJC_BRIDGING_HEADER = "RNProgressBarModule-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -281,7 +281,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
- SWIFT_OBJC_BRIDGING_HEADER = "RNModuleTemplateModule-Bridging-Header.h";
+ SWIFT_OBJC_BRIDGING_HEADER = "RNProgressBarModule-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
@@ -290,7 +290,7 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
- FA0EFF5B236CC8FB00069FA8 /* Build configuration list for PBXProject "RNModuleTemplateModule" */ = {
+ FA0EFF5B236CC8FB00069FA8 /* Build configuration list for PBXProject "RNProgressBarModule" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA0EFF67236CC8FB00069FA8 /* Debug */,
@@ -299,7 +299,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
- FA0EFF69236CC8FB00069FA8 /* Build configuration list for PBXNativeTarget "RNModuleTemplateModule" */ = {
+ FA0EFF69236CC8FB00069FA8 /* Build configuration list for PBXNativeTarget "RNProgressBarModule" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FA0EFF6A236CC8FB00069FA8 /* Debug */,
diff --git a/ios/RNModuleTemplateModule.xcodeproj/xcshareddata/xcschemes/RNModuleTemplateModule.xcscheme b/ios/RNProgressBarModule.xcodeproj/xcshareddata/xcschemes/RNProgressBarModule.xcscheme
similarity index 84%
rename from ios/RNModuleTemplateModule.xcodeproj/xcshareddata/xcschemes/RNModuleTemplateModule.xcscheme
rename to ios/RNProgressBarModule.xcodeproj/xcshareddata/xcschemes/RNProgressBarModule.xcscheme
index 5afcb97..6778719 100644
--- a/ios/RNModuleTemplateModule.xcodeproj/xcshareddata/xcschemes/RNModuleTemplateModule.xcscheme
+++ b/ios/RNProgressBarModule.xcodeproj/xcshareddata/xcschemes/RNProgressBarModule.xcscheme
@@ -15,9 +15,9 @@
+ BuildableName = "libRNProgressBarModule.a"
+ BlueprintName = "RNProgressBarModule"
+ ReferencedContainer = "container:RNProgressBarModule.xcodeproj">
@@ -51,9 +51,9 @@
+ BuildableName = "libRNProgressBarModule.a"
+ BlueprintName = "RNProgressBarModule"
+ ReferencedContainer = "container:RNProgressBarModule.xcodeproj">
diff --git a/package.json b/package.json
index 7fea00e..60bb79e 100644
--- a/package.json
+++ b/package.json
@@ -1,17 +1,17 @@
{
- "name": "react-native-module-template",
- "version": "2.5.1",
- "description": "A starter for the React Native library written in TypeScript, with linked example project and optional native code in Swift and Kotlin.",
- "homepage": "https://github.com/demchenkoalex/react-native-module-template#readme",
+ "name": "react-native-tooltip-progress-bar",
+ "version": "1.0.0",
+ "description": "",
+ "homepage": "https://github.com/Ayush-khade/react-native-tooltip-progress-bar",
"main": "lib/index.js",
"types": "lib/index.d.ts",
- "author": "Alex Demchenko ",
+ "author": "Ayush Khade ",
"license": "MIT",
"files": [
"android",
"ios",
"lib",
- "react-native-module-template.podspec",
+ "react-native-tooltip-progress-bar.podspec",
"!android/build",
"!.DS_Store",
"!.gradle",
diff --git a/react-native-module-template.podspec b/react-native-tooltip-progress-bar.podspec
similarity index 78%
rename from react-native-module-template.podspec
rename to react-native-tooltip-progress-bar.podspec
index ca9c44f..b0ea63b 100644
--- a/react-native-module-template.podspec
+++ b/react-native-tooltip-progress-bar.podspec
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.homepage = package['homepage']
s.platform = :ios, "10.0"
- s.source = { :git => "https://github.com/demchenkoalex/react-native-module-template.git", :tag => "v#{s.version}" }
+ s.source = { :git => "https://github.com/Ayush-khade/react-native-tooltip-progress-bar", :tag => "v#{s.version}" }
s.source_files = "ios/**/*.{h,m,swift}"
s.dependency 'React'
diff --git a/src/index.tsx b/src/index.tsx
index 21ae4df..fd6c51c 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -23,4 +23,4 @@ const styles = StyleSheet.create({
},
})
-export default NativeModules.RNModuleTemplateModule
+export default NativeModules.RNProgressBarModule