This script automates the process of updating:
- The
package.jsonversion. - Xcode target versions.
- Android Gradle version names.
It ensures the build numbers are synced across both iOS and Android platforms.
| function messWithTikTokProfile() { | |
| Array.prototype.filter | |
| .call( | |
| document.getElementsByClassName('count-infos')[0].children, | |
| (item) => { | |
| return item.tagName === 'STRONG'; | |
| }) | |
| .forEach((item) => item.innerText = Math.floor(Math.random() * 10 + 1)); | |
| Array.prototype.forEach | |
| .call(document.querySelectorAll('strong[class~="video-count"]'), |