Activities of "sinan"

App.js is the bootstrap component of the application.

This text doesn't mean it uses bootstrap toolkit. It means, the application starts from App.js.

Hi, there is no ui library used in react-native. Just native-base.

This is all the dependencies of react-native template.

  "dependencies": {
    "@expo/react-native-action-sheet": "^4.0.0",
    "@react-native-async-storage/async-storage": "1.18.2",
    "@react-navigation/drawer": "^6.5.4",
    "@react-navigation/native": "^6.1.0",
    "@react-navigation/native-stack": "^6.9.5",
    "@reduxjs/toolkit": "^1.7.1",
    "@types/react-native": "~0.70.6",
    "axios": "~1.2.1",
    "expo": "^49.0.0",
    "expo-auth-session": "~5.0.2",
    "expo-crypto": "~12.4.1",
    "expo-image-picker": "~14.3.2",
    "expo-random": "~13.2.0",
    "expo-status-bar": "~1.6.0",
    "expo-web-browser": "~12.3.2",
    "formik": "^2.2.9",
    "i18n-js": "^3.8.0",
    "native-base": "^3.4.25",
    "prop-types": "^15.8.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.72.10",
    "react-native-base64": "^0.2.1",
    "react-native-chart-kit": "^6.11.0",
    "react-native-gesture-handler": "~2.12.0",
    "react-native-paper": "^5.9.1",
    "react-native-reanimated": "~3.3.0",
    "react-native-root-toast": "^3.5.0",
    "react-native-safe-area-context": "4.6.3",
    "react-native-screens": "~3.22.0",
    "react-native-svg": "13.9.0",
    "react-native-web": "~0.19.6",
    "react-redux": "^8.0.5",
    "reanimated-bottom-sheet": "^1.0.0-alpha.22",
    "redux-persist": "^6.0.0",
    "redux-saga": "^1.2.1",
    "typescript": "^5.1.3",
    "yup": "^0.32.11"
  },

I am not sure but refreshAppState method of ConfigStateService might be usefull for your case, could you try?

By the way i didn't understand your case fully how can you make request without network (i mean in offline mode)?

Hi, It seems there is a bug in our documentation. I will fix the documentation.

This SetState method has been added in version 4.0.0 and removed at version 5.0.0. So it is not available in version 6.0.0

Lastly it has been added at version 7.2.1.

If you want to refresh the app state, you can use refreshAppState() method.

Hi, this is a bug causes from us, so i am refunding your question credit.

This will be fixed in next patch version.

In order to get rid of this error, you can import PasswordComponent to your module or standalone component. Can be imported from @abp/ng.theme.shared package.

I have to mention that this component is deprecated. maybe you can think about using the new alternative. https://docs.abp.io/en/abp/latest/UI/Angular/Show-Password-Directive

You can follow the PR here.

Hi, in angular you can use ProfilePictureService which is imported from @volo/abp.commercial.ng.ui.

Example usage;

import { ProfilePictureService } from '@volo/abp.commercial.ng.ui/config';

export class YourComponent {
  protected readonly profilePictureService = inject(ProfilePictureService);
  userId = '997';
  
  ngOnInit(): void {
    this.profilePictureService.getProfilePicture(this.userId).subscribe(res => {
      console.log(res);
    });
  }
}
Answer

Have you update your appsetting.json, launchSetting.json in your backend?

If not do the following steps please. https://docs.abp.io/en/commercial/8.0/getting-started-react-native#configure-your-local-ip-address

Hi can you do the following steps;

  1. Go to the DrawerContent.js add this line to the screens object.
    • AuthStack: { label: 'AbpUi::Login', iconName: 'login', navigation: 'AuthStack' }
  2. Go to the DrawerNavigator.js and add this code to the
    • <Drawer.Screen
        name="AuthStack"
        component={AuthNavigator}
        options={{ header: () => null }}
      />
      
  3. import NativeBaseProvider in App.js and use it as follows;

import { NativeBaseProvider } from 'native-base';

NativeBaseProvider
{isReady ? (
&lt;LocalizationContext.Provider value={localizationContextValue}&gt;
&lt;ActionSheetProvider&gt;
&lt;RootSiblingParent&gt;
&lt;ConnectedAppContainer /&gt;
&lt;/RootSiblingParent&gt;
&lt;/ActionSheetProvider&gt;
&lt;/LocalizationContext.Provider&gt;
) : null}
&lt;Loading /&gt;
/NativeBaseProvider

wrap it like that with NativeBaseProvider

Answer

We have updated in version 8.1. Will be released soon

Is your mobile app runs at 19006 ?

It should be run at exp://${yourIP}:19000 .

By the way we have added how to run react native in androd studio to the documentation. https://docs.abp.io/en/abp/8.1/Getting-Started-React-Native If you want to check.

If still not works, can you create a new application in 8.0.5 and check what is difference with your application.

Showing 1 to 10 of 79 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35