
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@bittingz/expo-widgets
Advanced tools
An expo module that allows you to make native widgets in iOS and android
An expo module that allows you to make native widgets in iOS and android.
Use v1 packages for expo 49, or v2 for expo 51+.
npx expo install @bittingz/expo-widgets
See the example project for more clarity. You can omit the android or ios folders and setup if you only wish to support one platform.
[
"@bittingz/expo-widgets",
{
ios: {
src: "./src/my/path/to/ios/widgets/folder",
devTeamId: "your apple dev team ID",
mode: "production",
moduleDependencies: [],
useLiveActivities: false,
frequentUpdates: false,
entitlements: {
"any xcode entitlement the widget needs": "entitlement value"
}
},
android: {
src: "./src/my/path/to/android/widgets/folder",
widgets: [
{
"name": "MyWidgetProvider",
"resourceName": "@xml/my_widget_info"
}
],
distPlaceholder: "optional.placeholder"
}
}
],
You can override xcode options in app.json (all props are optional):
"@bittingz/expo-widgets",
{
"ios": {
...
xcode: {
appExtAPI: true, // sets APP_EXTENSION_API_ONLY in the podfile
configOverrides: {
// key value pairs e.g. SWIFT_VERSION: '5.0',
},
entitlements: {}, // key value pairs
},
}
}
The configOverrides properties are the xcodeproj values and must match case exactly.
cd example
npm run prebuild:ios
npm run ios
OR
npm run prebuild:android
npm run android
If you use R in your widget kotlin file to get layouts, you may get an unresolved reference error for R. In this case, simply add "package your.appconfig.packageid.R", delete your android folder and rebuild.
Give my other expo module a try. You'll need to put the fonts config before the widgets config.
If you need widgets designed & developed, reach out for more details.
A huge thanks to gashimo for a great baseline to start from.
FAQs
An expo module that allows you to make native widgets in iOS and android
The npm package @bittingz/expo-widgets receives a total of 1,467 weekly downloads. As such, @bittingz/expo-widgets popularity was classified as popular.
We found that @bittingz/expo-widgets demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.