Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
nativescript-plugin-regions
Advanced tools
A NativeScript hook that allows setting the development region and known regions in the generated project.pbxproj file.
This module installs a NativeScript after prepare hook that gives you full control about the development region and
known regions which are set in the auto generated platforms/ios/app-name.xcodeproj/project.pbxproj
file.
tns plugin install nativescript-plugin-regions
Create a file called region.nativescript.json
in your project directory:
{
"developmentRegion": "de",
"knownRegions": [
"de"
]
}
Apply your configuration. Multiple known regions are supported.
Please also make sure that you apply correct config inside your app/App_Resources/iOS/Info.plist
file.
An example for the above region config would be:
<key>CFBundleDevelopmentRegion</key>
<string>de</string>
<key>CFBundleLocalizations</key>
<array>
<string>de</string>
</array>
You will need to execute tns platform clean ios
in the CLI and tns prepare ios
for the changes to take effect.
tns platform clean ios
tns prepare ios --release
tns build ios --bundle --env.uglify --env.aot --release --forDevice
This step is only required if you target a single language.
In order to make iTunes Connect recognize a single language only you will need to open up your
platforms/ios/app-name.xcodeproj
file, or platforms/ios/app-name.xcworkspace
if available, with Xcode.
Within Xcode apply the changes described in the following graphic.
You will only have to make these manual changes when you are creating an archive for iTunes Connect. It doesn't really matter during development.
The NativeScript plugin nativescript-plugin-regions is open-sourced software licensed under the MIT license.
FAQs
A NativeScript hook that allows setting the development region and known regions in the generated project.pbxproj file.
The npm package nativescript-plugin-regions receives a total of 1 weekly downloads. As such, nativescript-plugin-regions popularity was classified as not popular.
We found that nativescript-plugin-regions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.