chore: Idk
This commit is contained in:
@@ -1,67 +0,0 @@
|
|||||||
name: 🐛 Bug report
|
|
||||||
description: Report a reproducible bug or regression in this library.
|
|
||||||
labels: [bug]
|
|
||||||
body:
|
|
||||||
- type: markdown
|
|
||||||
attributes:
|
|
||||||
value: |
|
|
||||||
# Bug report
|
|
||||||
|
|
||||||
👋 Hi!
|
|
||||||
|
|
||||||
**Please fill the following carefully before opening a new issue ❗**
|
|
||||||
*(Your issue may be closed if it doesn't provide the required pieces of information)*
|
|
||||||
- type: checkboxes
|
|
||||||
attributes:
|
|
||||||
label: Before submitting a new issue
|
|
||||||
description: Please perform simple checks first.
|
|
||||||
options:
|
|
||||||
- label: I tested using the latest version of the library, as the bug might be already fixed.
|
|
||||||
required: true
|
|
||||||
- label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
|
|
||||||
required: true
|
|
||||||
- label: I checked for possible duplicate issues, with possible answers.
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: summary
|
|
||||||
attributes:
|
|
||||||
label: Bug summary
|
|
||||||
description: |
|
|
||||||
Provide a clear and concise description of what the bug is.
|
|
||||||
If needed, you can also provide other samples: error messages / stack traces, screenshots, gifs, etc.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: input
|
|
||||||
id: library-version
|
|
||||||
attributes:
|
|
||||||
label: Library version
|
|
||||||
description: What version of the library are you using?
|
|
||||||
placeholder: "x.x.x"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: react-native-info
|
|
||||||
attributes:
|
|
||||||
label: Environment info
|
|
||||||
description: Run `react-native info` in your terminal and paste the results here.
|
|
||||||
render: shell
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: textarea
|
|
||||||
id: steps-to-reproduce
|
|
||||||
attributes:
|
|
||||||
label: Steps to reproduce
|
|
||||||
description: |
|
|
||||||
You must provide a clear list of steps and code to reproduce the problem.
|
|
||||||
value: |
|
|
||||||
1. …
|
|
||||||
2. …
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: input
|
|
||||||
id: reproducible-example
|
|
||||||
attributes:
|
|
||||||
label: Reproducible example repository
|
|
||||||
description: Please provide a link to a repository on GitHub with a reproducible example.
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
blank_issues_enabled: false
|
|
||||||
contact_links:
|
|
||||||
- name: Feature Request 💡
|
|
||||||
url: https://gitea.jzitnik.dev/jzitnik/react-native-jecnaapi/discussions/new?category=ideas
|
|
||||||
about: If you have a feature request, please create a new discussion on GitHub.
|
|
||||||
- name: Discussions on GitHub 💬
|
|
||||||
url: https://gitea.jzitnik.dev/jzitnik/react-native-jecnaapi/discussions
|
|
||||||
about: If this library works as promised but you need help, please ask questions there.
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
require "json"
|
require "json"
|
||||||
|
|
||||||
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
||||||
|
JECNA_API_VERSION = package["jecnaApiVersion"]
|
||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "Jecnaapi"
|
s.name = "Jecnaapi"
|
||||||
@@ -19,6 +20,14 @@ Pod::Spec.new do |s|
|
|||||||
"cpp/**/*.{hpp,cpp}",
|
"cpp/**/*.{hpp,cpp}",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
s.prepare_command = <<-CMD
|
||||||
|
curl -sL "https://github.com/tomhula/JecnaAPI/releases/download/v#{JECNA_API_VERSION}/JecnaapiIOS-v#{JECNA_API_VERSION}-xcframework.zip" -o JecnaAPI.xcframework.zip
|
||||||
|
unzip -o JecnaAPI.xcframework.zip
|
||||||
|
rm JecnaAPI.xcframework.zip
|
||||||
|
CMD
|
||||||
|
s.vendored_frameworks = "JecnaAPI.xcframework"
|
||||||
|
s.preserve_paths = "JecnaAPI.xcframework"
|
||||||
|
|
||||||
s.dependency 'React-jsi'
|
s.dependency 'React-jsi'
|
||||||
s.dependency 'React-callinvoker'
|
s.dependency 'React-callinvoker'
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
|
def packageJson = new groovy.json.JsonSlurper().parse(file('../package.json'))
|
||||||
ext.Jecnaapi = [
|
ext.Jecnaapi = [
|
||||||
kotlinVersion: "2.0.21",
|
kotlinVersion: "2.0.21",
|
||||||
minSdkVersion: 24,
|
minSdkVersion: 24,
|
||||||
compileSdkVersion: 36
|
compileSdkVersion: 36,
|
||||||
|
jecnaApiVersion: packageJson.jecnaApiVersion
|
||||||
]
|
]
|
||||||
|
|
||||||
ext.getExtOrDefault = { prop ->
|
ext.getExtOrDefault = { prop ->
|
||||||
@@ -37,7 +39,7 @@ apply from: '../nitrogen/generated/android/jecnaapi+autolinking.gradle'
|
|||||||
apply plugin: "com.facebook.react"
|
apply plugin: "com.facebook.react"
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace "com.margelo.nitro.jecnaapi"
|
namespace "cz.jzitnik.jecnaapi_react_native"
|
||||||
|
|
||||||
compileSdkVersion getExtOrDefault("compileSdkVersion")
|
compileSdkVersion getExtOrDefault("compileSdkVersion")
|
||||||
|
|
||||||
@@ -109,4 +111,5 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation "com.facebook.react:react-android"
|
implementation "com.facebook.react:react-android"
|
||||||
implementation project(":react-native-nitro-modules")
|
implementation project(":react-native-nitro-modules")
|
||||||
|
implementation "io.github.tomhula:jecnaapi-core:${getExtOrDefault('jecnaApiVersion')}"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.margelo.nitro.jecnaapi
|
package cz.jzitnik.jecnaapi_react_native
|
||||||
|
|
||||||
import com.facebook.proguard.annotations.DoNotStrip
|
import com.facebook.proguard.annotations.DoNotStrip
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.margelo.nitro.jecnaapi
|
package cz.jzitnik.jecnaapi_react_native
|
||||||
|
|
||||||
import com.facebook.react.BaseReactPackage
|
import com.facebook.react.BaseReactPackage
|
||||||
import com.facebook.react.bridge.NativeModule
|
import com.facebook.react.bridge.NativeModule
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-jecnaapi",
|
"name": "react-native-jecnaapi",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
|
"jecnaApiVersion": "10.3.5",
|
||||||
"description": "JecnaAPI bridge for React Native",
|
"description": "JecnaAPI bridge for React Native",
|
||||||
"main": "./lib/module/index.js",
|
"main": "./lib/module/index.js",
|
||||||
"types": "./lib/typescript/src/index.d.ts",
|
"types": "./lib/typescript/src/index.d.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user