Activities of "sinan"

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.

Answer

I can give you a sample package.json file for react-native. Try to make them same, it might be work.

"dependencies": {
    "@expo/react-native-action-sheet": "^4.0.0",
    "@react-native-async-storage/async-storage": "~1.17.11",
    "@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": "^47.0.0",
    "expo-auth-session": "~3.8.0",
    "expo-crypto": "~12.0.0",
    "expo-image-picker": "~14.0.2",
    "expo-random": "~13.0.0",
    "expo-status-bar": "~1.4.2",
    "expo-web-browser": "~12.0.0",
    "formik": "^2.2.9",
    "i18n-js": "^3.8.0",
    "native-base": "^3.4.25",
    "prop-types": "^15.8.1",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-native": "0.70.8",
    "react-native-base64": "^0.2.1",
    "react-native-chart-kit": "^6.11.0",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-paper": "^5.9.1",
    "react-native-reanimated": "~2.12.0",
    "react-native-root-toast": "^3.5.0",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-svg": "13.4.0",
    "react-native-web": "~0.18.7",
    "react-redux": "^8.0.5",
    "reanimated-bottom-sheet": "^1.0.0-alpha.22",
    "redux-persist": "^6.0.0",
    "redux-saga": "^1.2.1",
    "typescript": "^4.6.3",
    "yup": "^0.32.11"
},
"devDependencies": {
    "@babel/core": "^7.19.3"
}
Answer

Hi, i have created a new application in version 8.0.5 and it works fine. I couldn't produce your problem. Could you give me more detail?

I have followed this documentation

Showing 1 to 10 of 77 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11