ttlock / react-native-ttlock

MIT License
16 stars 13 forks source link

ttlock-release.aar file #19

Open azalpacir opened 9 months ago

azalpacir commented 9 months ago

The latest change includes the use of AAR file instead of downloading the latest release from mavencentral? This causes issues when we reference your library because it will try to look for the AAR file which only gets added if we manually add it to our build.gradle file.

  1. What version is the AAR file? Why are we not pulling from the latest from MavenCentral?
  2. If we are to use the AAR file, why is this not included in the README?

image

daihieptn97 commented 9 months ago

I have the same problem

daihieptn97 commented 9 months ago

i was changer

  // implementation(name: 'ttlock-release', ext: 'aar')

To

 implementation 'com.ttlock:ttlock:3.3.8'

it work for me!

image

azalpacir commented 9 months ago

This only works if you do it locally, we use github actions to build and publish our code. we had to reference the file instead.

leonid-br commented 7 months ago

I also have the same problem

This only works if you do it locally, we use github actions to build and publish our code. we had to reference the file instead.

can you share how you solved this problem?

azalpacir commented 7 months ago

@leonid-br @daihieptn97

in your build.gradle make sure you include the aar file that's included in the npm module image

leonid-br commented 7 months ago

@leonid-br @daihieptn97

in your build.gradle make sure you include the aar file that's included in the npm module

image

Yes, it's work only for local build. But if I try run eas build -p android --profile preview --lockal Will same error