I made some customisations to the sdk and I was able to use the sdk from the local file (file:/private/tmp/repo)
When i use release-sdk.sh to push the sdk to maven repo, I get the following error
Task :react-native-background-timer:publishAarArchivePublicationToMavenRepository FAILED
:react-native-background-timer:publishAarArchivePublicationToMavenRepository (Thread[Task worker for ‘:’,5,main]) completed. Took 2.801 secs.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:react-native-background-timer:publishAarArchivePublicationToMavenRepository’.
Failed to publish publication ‘aarArchive’ to repository ‘maven’
Could not write to resource ‘https://github.com/dev-Arif/jitsi-maven-repository/tree/master/releases/com/facebook/react/react-native-background-timer/2.1.1-jitsi-5499803/react-native-background-timer-2.1.1-jitsi-5499803.aar’.
Could not PUT ‘https://github.com/dev-Arif/jitsi-maven-repository/tree/master/releases/com/facebook/react/react-native-background-timer/2.1.1-jitsi-5499803/react-native-background-timer-2.1.1-jitsi-5499803.aar’. Received status code 403 from server: Forbidden
npm @ 6.14.4
Apache Maven @ 3.6.3
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 14.0.1, vendor: N/A, runtime: /usr/local/Cellar/openjdk/14.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: “mac os x”, version: “10.15.6”, arch: “x86_64”
Please help why I am getting the forbidden status code for the react-native-background and how to resolve it?