shoutem / extensions Goto Github PK
View Code? Open in Web Editor NEWShoutem Extensions are common mobile app functionalities that supercharge your React Native development
Home Page: http://shoutem.github.io
License: Other
Shoutem Extensions are common mobile app functionalities that supercharge your React Native development
Home Page: http://shoutem.github.io
License: Other
Hello!
I have an extension for books where each books contains multiple chapters. I'd like to be able to update these chapters in the builder, so I have the following in extensions.json
.
"adminPages": [
{
"page": "shoutem.cms.CmsPage",
"title": "Chapters",
"parameters": {
"schema": "@.Chapters"
}
},
{
"page": "shoutem.cms.CmsPage",
"title": "Books",
"parameters": {
"schema": "@.Books"
}
},
{
"page": "shoutem.layouts.LayoutPage",
"title": "Layout"
}
]
The problem with this is that the schema for whichever of these is listed first is the one which appears for both of them. If I list chapters first and try to create a book in the builder, the UI will show the schema for creating a chapter. If I list books first and try to create a chapter in the builder, the UI will show the schema for creating a book.
I assume this is a bug and would greatly appreciate having it looked at!
Hi @majaklajic,
Amazing work on the in-app-purchases extension, that's awesome ! 😍
We just noticed you didn't check if an active product returned is in a retry period or a paused state.
We would recommend updating react-native-iaphub to the latest version (v6.0.1) which isn't returning active products on a 'retry_period' or 'paused' state anymore by default (https://github.com/iaphub/react-native-iaphub#subscription-state).
They are now only returned by providing an extra parameter (which is quite handy to display a message related to the subscription state).
Also if you keep using the version 5 here is the instructions to check the subscription state:
https://github.com/iaphub/react-native-iaphub/tree/v5.1.2#check-subscription-status
Happy to help if you need additional informations.
The issue for example occurs in the shoutem-places
extensions where I get the following result:
In the Shoutem app builder tough, I specified the following theme setting for the NavigationBar
:
I could also spot this kind of issue in some custom extension. The NavigationBar code I am using there looks like the following:
import { NavigationBar } from '@shoutem/ui/navigation';
render() {
return (
<Screen>
<NavigationBar hasHistory title="Newsfeed" />
...
</Screen>
);
}
I really loved these extensions.
But i would like to know is there any documentation around on how can i include these extensions as part of existing react native app?
Hello, I am exploring using Shoutem's platform and would like my team to be able to open PRs and contribute enhancements to the codebase rather than maintaining a forked version. Is this possible? Thank you.
So we have a custom extension that is using file anchors and injection for a native dependency. I tried to use the app segment module pattern but I needed to make more modifications than it allowed. I am now getting a strange “no default value” red page error, though the injection for the base app build files seems to be exactly how I need it. I can push the extension if it would help, but didn’t want to kill the current working build.
and here is the react log:
05-23 09:35:58.387 7785 7785 D ReactNative: [CodePush] Loading JS bundle from "assets://index.android.bundle"
05-23 09:35:58.394 7785 7785 D ReactNative: ReactInstanceManager.ctor()
05-23 09:35:58.515 7785 7785 D ReactNative: ReactInstanceManager.createReactContextInBackground()
05-23 09:35:58.516 7785 7785 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
05-23 09:36:25.883 7785 7785 D ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()
05-23 09:36:25.884 7785 7785 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()
05-23 09:36:25.884 7785 7785 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
05-23 09:36:25.910 7785 7831 D ReactNative: ReactInstanceManager.createReactContext()
05-23 09:36:26.263 7785 7831 D ReactNative: Initializing React Xplat Bridge.
05-23 09:36:26.269 7785 7831 D ReactNative: Initializing React Xplat Bridge before initializeBridge
05-23 09:36:26.277 7785 7831 D ReactNative: Initializing React Xplat Bridge after initializeBridge
05-23 09:36:26.277 7785 7831 D ReactNative: CatalystInstanceImpl.runJSBundle()
05-23 09:36:26.279 7785 7835 D ReactNative: ReactInstanceManager.setupReactContext()
05-23 09:36:26.280 7785 7835 D ReactNative: CatalystInstanceImpl.initialize()
05-23 09:36:26.284 7785 7835 D ReactNative: ReactInstanceManager.attachRootViewToInstance()
05-23 09:36:28.400 7785 7834 E ReactNativeJS: No default value
05-23 09:36:28.457 7785 7834 I ReactNativeJS: 'Failed to print error: ', 'No default value'
05-23 09:36:28.469 7785 7834 E ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
05-23 09:36:28.471 7785 7834 I ReactNativeJS: 'Failed to print error: ', 'undefined is not a function (evaluating 'regeneratorRuntime.async')'
05-23 09:36:28.518 7785 7785 D ReactNative: CatalystInstanceImpl.destroy() start
05-23 09:36:28.584 7785 7809 D ReactNative: CatalystInstanceImpl.destroy() end
05-23 09:36:28.656 7785 7785 D ReactNative: CatalystInstanceImpl.destroy() start
Hi All,
What an amazing tooling, really love the use of it, but struggling now for a few days, but maybe there is someone who is able to easily help me with the following? If i am asking this question at the wrong place please let me know where I could put it for support.
I would like to have them better visible in the app. I have looked at the theme style options but couldn't find it, also none of the other themes has a different color available, neither was i able to find it in all the files/images. But maybe someone here who could help?
Big thanks already to those willing to help me!
Kind Regards,
Bram
FEATURE REQUEST: We have 4 podcast apps that are stuck on V4 because you have not added that yet to V5. Do you have an ETA or after being with you several years, do we need to look elsewhere? We need to be able to add Audio RSS feeds to our apps. You feature a podcast app pretty prominently on your website but this is for the older version: http://www.shoutem.com/app/podcast.
I'm trying to migrate from v4 to v5 since v4 is so buggy now its hurting my user retention. My problem is that v5 lacks a lot of features that my users use in v4 often.
I'm interested in hiring someone to modify the Places extension to add:
Refresh button like v4 had so you can pan around the Map and hit the Refresh button and app will reload places in that area.
Ability to change the Map Pin color since the default small white pin is hard to see. No need for a color picker, hard coding the pin color to match my app is fine.
A little modifying of the display of a Places entry in order to place the important info at the top of the page instead of displaying images.
Please let me know if someone is availavle for hire in order to give me a quote on what this might entail. I've been asking Shoutem about the Refresh button for almost a year now and now luck getting them to add it so I'm reaching out here in order to hire someone to make the modifications to a custom places extension for my app.
Thank you,
Abel
[email protected]
Hi.
First off, thanks for creating such a great platform and system.
I am trying to delete several custom extensions that I have created from the Extension Market Place but I seem to be unable to do so. I can remove without issue from an application but I do not seem to be able to delete them globally and the CLI doesnt seem to have a method for this either. Please can someone help
Thanks
Jamie
I'm trying to use the shopify extension but it looks like it's not working on android devices. it works fine on the preview in the builder and with the shoutem app on ios, but not with the android emulator and on my android device with the shoutem app. On the screen I get "There was an error while fetching the shop" and in the console there's this error:
Error
at createErrorFromErrorData (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:4810:15)
at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:4768:25
at MessageQueue.__invokeCallback (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:5083:16)
at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:4942:16
at guard (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:4881:5)
at MessageQueue.invokeCallbackAndReturnFlushedQueue (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:4941:7)
at http://localhost:8081/debuggerWorker.js:71:58
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.